WordPress.org

Ready to get started?Download WordPress

Forums

Parent and Children pages (2 posts)

  1. K.R.
    Member
    Posted 6 years ago #

    A friend of mine asked if i could make her a website for her education:

    http://www.ksdfotografie.nl

    As you all can see there is a second link underneath Portfolio. A sublink, catagory or whatever.
    But in the near future more post will be made for her portfolio, and the widget sidebar will extend too much.

    So my question is how to get rid of the sublinks in the navigation section. This template is widget ready. The Page link section is a widget.
    In what file do I need to edit what line or section if I want to get rid of those sub links??

    Thnx for all the help in advance ;)

    Greetz 2 all

  2. MichaelH
    Member
    Posted 6 years ago #

    If it is Pages, and not posts, you are referring to, then use the depth=1 parameter with the template tag, wp_list_pages().

Topic Closed

This topic has been closed to new replies.

About this Topic