Why are some pages showing in page list but not others
-
Hi all, I am trying to work out why some pages are showing in my pages and not others? I do not want certain pages to show when you click on a title, for example on this page Road Bike Example it is showing ‘Enquiry/booking’ which I do not want but on other pages it does not show this?
Any help would be great.
Thanks.
ModThat’s because “Enquiry/Booking” is a child page of the “Road Bike Holiday” page.
You can either turn off child page excerpts showing up in parent pages completely, which I don’t think you want, or you can hide that excerpt with custom CSS:
.page-id-6 #page-76 {
display: none;
}but you will need to do that for every excerpt you want to hide.
There may be a way to accomplish this more efficiently with a custom function, but idk.
Thanks, I’ll try this and let you know.
But your right, it’s not every page i want to hide. Will try that.
How do i find out the number of each page that i dont want to show? just tried with what i thought was page 108 but it’s not working? Thanks.
ModUse the Firebug extension for Firefox. It makes this sort of work very easy.
Thanks, I’ve installed this but cant see how it tells me the pade id that I need? or page number? I tried to do it for this page: E Bike Holidays But it hasn’t worked. I put in:
.page-id-6 #page-86 {
display: none;
}Thanks.
AdminTry this:
.child-pages-wrap #page-86 {
display: none;
}Thanks, thats worked, just going through the rest now.
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.