Change Main Menu To Show Pages

Latest Reply from Alice at 2013-07-30 08:30:14
Hi,
I am trying to change the main menu to show pages instead of categories. I have been making edits to top.php to try and make this happen, but so far no luck. Thanks for your help.
Hello!,

I am wondering the same question. Was this ever resolved?

You can do this in Appearance > Menus and make a custom menu.
This is how I did it. In "top.php", move the code from "secondarymenu" into the mainmenu-container div.
<div id='mainmenu-container'>
<div id="mainmenu"><?php wp_nav_menu('depth=0&theme_location=sec-menu&container_class=menu-topmenu-container&menu_class=menus menu-topmenu&fallback_cb=block_sec_menu'); ?>
</div>


http://fallingdownfunny.com
Ignore my previous solution. it's better to use the method Fuchur outlined. Go to appearance and create a custom menu.

If you want to keep the top menu from displaying categories, you can set secondarymenu to display:none or some other such thing.

Forgive my bad advice!
O how to save settings of theme like new text, favicon,...etc
Probably this is caused by the update of Wordpress. Here is a solution:
http://smthemes.com/support/topic/wordpress35fixes/

Leave a reply

Add codeAdd image