Appearance > Menus

Using add_menu_page and add_submenu_page is generally used for adding pages to the dashboard to serve a specific purpose, such as accessing the options page for a plugin settings. Using them is unnecessary, however, if your intentions are to add/edit posts/tags/categories to a custom post type (CPT). When a CPT is correctly registered, with it’s corresponding … Read more

Hiding menu on mobile only when viewing posts?

Assuming you are editing a child theme (or somehow protecting your changes from future update/over-writing) a very simple way to accomplish this is with a CSS rule that targets your mobile menu, then applies display: none to it. Using a combination of media queries and carefully written CSS selectors, you can target exactly the HTML … Read more

Making wordpress menu horizontal [closed]

If I understood correctly you are trying to position output of wp_nav_menu() in horizontal line. Your should try styling <li> elements, instead of all <div>. Also width: 100%; should be removed. Something like this seems to work: .mythirdclass li { float: left; padding: 0; margin: 1em; list-style-type: none; display: inline; }