WordPress.org

Ready to get started?Download WordPress

Forums

Help Excluding (3 posts)

  1. jpconcepts
    Member
    Posted 7 years ago #

    Well I read this here http://codex.wordpress.org/Template_Tags/wp_list_pages#Exclude_Pages_from_List
    about excluding pages from a list and I would like to do this on my pages list at http://www.jpconcepts.net/wp/ but this is totally confusing me. I would like the Logo Design Portfolio, Never to Be, and the Web Design Portfolio not displayed so it's just the main pages with no child pages.

    Can someone help explain how to do this cause the page I linked just confused me.

    Thanks

  2. moshu
    Member
    Posted 7 years ago #

    So, why don't you use the "depth" parameter?
    depth=1 will not show the children only the main/parent level of Pages.

  3. jpconcepts
    Member
    Posted 7 years ago #

    Because the first part of the page confused me so much I didn't get that far and if I would of I would of answered my own question and found out for myself.

    Thanks a lot anyway. I will read the whole page before I post next time.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags