WordPress.org

Ready to get started?Download WordPress

Forums

I Don't Want To See "Parented" Pages On Website. How??? (6 posts)

  1. musictonite
    Member
    Posted 5 years ago #

    Hi,

    Thank you in advance for your help :)

    I am working on a website with many pages.
    I have 5 main pages, and then each page is a "Parent" to many other pages within that parent page.

    The trouble is that the theme I am using is displaying all the parented pages, on the main page. I do not like that, but I do like the theme a lot.

    How do I NOT show these parented pages on the front page of the website?
    Is there a setting somewhere in the dashboard, or something else I can do?

    Thank you in advance for your help.

  2. musictonite
    Member
    Posted 5 years ago #

    a little clarification...

    when I say that "the parented pages are being displayed on the main page of the website" I really mean just the title of those parented pages

  3. musictonite
    Member
    Posted 5 years ago #

    I am guessing this is a theme feature.
    Is it possible to override it?

    maybe remove some code somewhere?

  4. URL and Theme?

  5. musictonite
    Member
    Posted 5 years ago #

    theme is Gravel 1.0

    when the parented pages are displayed, it throws everything out of wack

  6. musictonite
    Member
    Posted 5 years ago #

    I fixed it :)

    <?php wp_list_pages('depth=1&title_li='); ?>

    this will only list the main pages, and NOT the subpages

    :)

Topic Closed

This topic has been closed to new replies.

About this Topic