• Resolved genericsuperhero

    (@genericsuperhero)


    i am using blix. i want to create a page within my site but i dont want the page to appear in the header. that is, people shud reach the page by clikin a link in one post. any way to do that?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I don’t know anything about blix, but if it’s set to list pages in the header using the wp_list_pages template tag, then you need to exclude the page using the exclude argument.

    exclude
    (string) Comma separated list of Page numeric IDs to be excluded from the list (example: ‘exclude=10, 20, 30’). There is no default value. See the Exclude Pages from List Example.

    Thread Starter genericsuperhero

    (@genericsuperhero)

    yap. it is using BX_get_pages template tag. But I set it to exclude a page, still no results. the page id is 19 and i did it like this-
    $pages = BX_get_pages(‘exclude=19&title_li=<h2>’ . __(‘Pages’) . ‘</h2>’);

    so i had to delete the page as i dont want it show up in the header :-((
    where is the problem??

    Sounds like the blix version of get_pages isn’t handling the exclude parameter at all. Might want to contact the theme author about that.

    -tg

    Can you replace the “bx_get_pages” with the normal “wp_list_pages” tag?

    Thread Starter genericsuperhero

    (@genericsuperhero)

    i dont think i can. i am not sure though.

    Thread Starter genericsuperhero

    (@genericsuperhero)

    i hav got rid of the problem by manually creating a page and uploading it. that solves it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘page should not appear in header’ is closed to new replies.