Support » Fixing WordPress » Sub-menu display problem
8 years, 5 months ago
I am using a modified Andreas01 theme on several blogs and having a problem with the sub-menu display.
This one is displaying correctly and how I want it.
As I don’t have any sub-pages off the home page, this is displaying correctly as well – i.e. no home page.
However, one blog has been displaying the sub-page menu on the home page, and I don’t want this to show (as there is no sub-menu).
The code on page.php to generate the sub-menu is:
<?php list_subpages_andreas01(); ?>
I have removed this.
But I want the sub-menu to display on all the other pages (not the home page) if sub-pages exist.
Can anyone see how to do this?