Ways to give a wp_list_pages menu link specific class names?
I’m looking to style my wp_list_pages with a span class. I’d like to give it a unique class so that I can give each a specific icon.
I’m looking to style my wp_list_pages with a span class. I’d like to give it a unique class so that I can give each a specific icon.
So, I understand how to target a specific menu using the following to add a custom code.
I’m building a landing page and want to remove the navigation menu from the page. The navigation menu is in header.php which is of course in the page template. Is there a WordPress function I can use to remove the navigation menu from this specific page? I know I could do it with jQuery and do display:none for the nav menu but i’d like to do it server side before the page loads.
I need some pro eyes please.
I want to make minor css-changes based on the choice of the top (root) menu.
I can’t find a way to add the log in link to the new theme of WordPress, Twenty Twelve.
I did find a lot of answers on the older theme, where they suggest to add some code in the functions.php file. However, this do not work for me.
I’m trying to get the navigation menu from JSON response using WP REST API v2 plugin.
I just can’t find a way to make it possible to show only current parent items down to current page item in a vertical menu the “wordpress way”.
My theme has a custom menu assignment…
Running WP 3.9.1