WordPress.org

Ready to get started?Download WordPress

Forums

[Theme BlackBird] Problem with wp_list_pages (2 posts)

  1. zoltandragon
    Member
    Posted 1 year ago #

    [ Moderator note: Please consider a better title next time. It makes it easier to see the problem. ]

    Hi,

    I am trying to list the child pages of a page with wp_list_pages, which works, but always includes "Home" on the top of the list. Is there any way it could be excluded? The base navigation level seems to be hardcoded in the theme somewhere, but I just can't figure out where... Thank you very much in advance!

  2. If you are hard coding the function in a child theme (you are using a child theme, right?) see if this helps.

    http://codex.wordpress.org/Function_Reference/wp_list_pages#Exclude_Pages_from_List

    Or if you want to create your own navigation menu, try this article.

    http://codex.wordpress.org/Appearance_Menus_Screen

    Edit: Or you know, you could go with the advice that was already offered on another topic to you.

    http://wordpress.org/support/topic/plugin-list-pages-shortcode-remove-home-from-children-list?replies=17#post-3198977

Topic Closed

This topic has been closed to new replies.

About this Topic