Apply the_title() filter in post & page title, but not in menu title
I use the following code to change the title of WordPress posts and pages. But it changes nav menu item titles too, which I want to avoid.
I use the following code to change the title of WordPress posts and pages. But it changes nav menu item titles too, which I want to avoid.
I would like to add a separator to the admin submenu section, NOT in the top level section.
I’m trying to figure out the best way to add custom menu attributes without using a plugin. I have a site using a custom theme and need to make sure this is setup at theme activation vs needing to setup a plugin as well.
How to get multiple menus in TwentyTen theme?
I asked this earlier on StackOverflow.com before realizing there was a StackExchange specifically for WordPress. Here is the link to the old question (for moderator deletion):
I have added following code to my function.php
I’m still very novice at PHP so any help is greatly appreciated. Typically I have found the codex to be very helpful but it appears custom walkers may be outside its scope.
I use the add_menu_page function to add an new admin menu:
I want to remove certain input fields on the admin screen for nav-menus for specific menu positions. I’ve used filters to filter front-end output but not for admin output. Is there a filter available for this purpose?
I’ve used the menu walker below to display dynamic submenus with great effect in the past.