Have you found yourself hardcoding your page-based navigation menus in your theme because wp_list_pages doesn’t display your page titles the way you want to with the function? This site serves as a great example: where it says “Colophon” in my menu under the title? It links to a page whose title is “Production Notes.” With the latest feature from All-In-One SEO Pack by Michael Torbert, you won’t have to! Here’s a quick tutorial on how:
First off, the following fields only show up when editing a Page: Title Attribute, and Menu Label. B and C in the following screenshot:
What you place under Title Attribute is output in the HTML as, quite obviously, the title attribute for the link on your menu. You usually see it when you hover over the link with your cursor. (I honestly don’t know how it works in mobile browsers, screen readers, or any other device without a mouse.) What you place under the Menu Label will replace the actual Page title in your wp_list_pages generated list. What follows is a screenshot of the output:
And there you have it, folks! It’s a quick and easy tutorial on a new feature for the SEO pack, perfect for taming that pesky menu.