Why are some pages showing in page list but not others

  • dbphoto1981

    #7845

    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.

    Mod

    Kenneth John Odle

    #39541

    That’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.

    dbphoto1981

    #39542

    Thanks, I’ll try this and let you know.

    But your right, it’s not every page i want to hide. Will try that.

    dbphoto1981

    #39543

    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.

    Mod

    Kenneth John Odle

    #39544

    Use the Firebug extension for Firefox. It makes this sort of work very easy.

    dbphoto1981

    #39545

    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.

    Admin

    Syahir Hakim

    #39546

    Try this:

    .child-pages-wrap #page-86 {
    display: none;
    }

    dbphoto1981

    #39547

    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.