StuAidAlliance
Member
Posted 9 months ago #
I am very new to word press and know very little about html. My issue is that I have a bunch of child menus showing up in what I would call the grandparent page's menu bar. Here's the Parent page: http://studentaidalliance.org/contact-congress/congressional-social-media/.
As you can see, I have all 50 states and hence, 50 child pages (not yet complete). Having the 50 links in the menu is going to be more than a little bit overkill and it will make the other links there harder to find and use. How do I get rid of them? They also show up in the grandparent page at http://studentaidalliance.org/contact-congress/.
Ideally, I would only have them on the child pages, or not at all. http://studentaidalliance.org/contact-congress/congressional-social-media/alabama/
My theme is Atlantica 2.0.0 by Brandon Jones.
Any ideas/help? I looked at this page http://wordpress.org/support/topic/sub-pages-showing-up-in-menu-bar?replies=4 and it was over my head.
It depends on how the theme is generating that menu.
If using wp_list_pages, look through your theme files for a reference to that function and change to something like:
wp_list_pages('title_li=&depth=1')
That will only list one level of main pages instead of all child pages.
If it's using a custom menu, you'd look for the function wp_nav_menu:
wp_nav_menu('depth=1')
StuAidAlliance
Member
Posted 8 months ago #
I've been on vacation and only now getting back to trying to figure this out. First off, I don't know where to find the theme files that you mention. I've checked in the following menus on the left hand side of the admin screen:
Settings/General
Settings/Writing
Settings/XML-Sitemap
Settings/etc all the menus
Appearance/Themes/Menus
Tools/
Atlantica/Design Settings
and all the other menus. I have systematically gone through all of them and I'm at a complete loss for what you mentioned. If I'm using wp_list_pages, how do I even know that? If I'm not, how do I know that?