Title2 overriding menu entries for current page
I think the Title2 filtering of the_title() is causing menu items to have their value of the_title overwritten by the current page when the Title2 heading happens to match the current page.
I have a WP nav menu with a menu element linking to a page with the WordPress title “Contact”.
If I create a new page, and set the WordPress title to “TEST” and the Title2 title to be “Contact”, then navigate to that page – the menu item above will display TEST and not “Contact”!
It seems that when WP is doing apply_filter for displaying the menu, if it finds the current page has a matching Title2 title, it using THAT WordPress title for the menu item.
- The topic ‘Title2 overriding menu entries for current page’ is closed to new replies.