WordPress.org

Support

Support » How-To and Troubleshooting » Child Page No Longer Showing on Parent Page

Child Page No Longer Showing on Parent Page

  • I’ve read all I can about this but can’t seem to find my answer.

    About a week ago all was fine, if you clicked on Band Locator the page would open and you would see the following:

    States
    -Alabama
    –Metal
    –Indie
    -Alaska
    –Metal
    ect.

    Then once you click on Indie it would open a new page with a list of bands. However now, the children pages are no longer showing. They still exist, but are no longer listed on the parent page. The owner of the page haven’t touched this area in over 2 weeks so I’m not exactly sure what happened here.

    I deactivated the plugins, didn’t help. I am using the Twenty Ten 1.3 theme. Any tips on what to check or a solution would be great. I am currently going page by page, and currently am finding nothing out of the ordinary.

    Website is http://undergroundmusicunites.com

    Pages effected:

    http://undergroundmusicunites.com/band-locator/
    Current Back End Set Up:
    Band Locator
    -States
    –Alabama
    —Metal/Hardcore
    –Alaska
    —Metal/Hardcore
    ect.

    http://undergroundmusicunites.com/reviews/
    Current Back End Set Up:
    Albums Reviews
    -Broken Torment
    -This and That
    -So on and so forth.

    Please help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • esmi

    @esmi

    Forum Moderator

    Have you added the child pages as sub-memu items in your custom menu?

    No, reason being, the drop down list that appears when you scroll over it would be far to long to even look nice. This was not an issue before. However we do have it active on the album release page. Could it be conflicting somehow?

    esmi

    @esmi

    Forum Moderator

    Did you previously customise the page.php template file in the theme? Or create a custom page template that listed out these sub-pages?

    No.

    page.php is as follows.

    get_header(); ?>
    <div id="primary">
    <div id="content" role="main">
    <?php while ( have_posts() ) : the_post(); ?>
    <?php get_template_part( 'content', 'page' ); ?>
    <?php comments_template( '', true ); ?>
    <?php endwhile; // end of the loop. ?>
    </div><!-- #content -->
    </div><!-- #primary -->
    <?php get_footer(); ?>

    [Please post code snippets between backticks or use the code button.]

    esmi

    @esmi

    Forum Moderator

    Did you create a custom page template that listed out these sub-pages? The default page.php template file in Twenty Eleven has never listed out sub-pages.

    Odd. No custom pages have been created. Was working since September, then stopped. I know we can link out to the already created pages, but it was already done so it would be redoing a lot of work.

    Thanks for the quick responses Esmi!

    esmi

    @esmi

    Forum Moderator

    Was working since September, then stopped

    As I mentioned above. the Twenty Eleven default page template does not include code to generate a list of child pages and never has done.

    Figured it out, missing code that was previously there. Thanks for letting me know I was missing something!

    esmi

    @esmi

    Forum Moderator

    missing code that was previously there

    No! There was no code there in the original theme. You must have added this code – which is wrong. Never edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Child Page No Longer Showing on Parent Page’ is closed to new replies.
Skip to toolbar