This code works in any theme however i only tested it on the Genesis Sample child theme by StudioPress.
There’s several different options included in this tutorial that work with the primary, secondary or any other menu your theme includes.
- Code to add your site tile before and inline with your nav menu
- Code to add your title after and inline with your nav menu
The function which displays the title in the code is highly flexible and easy to modify if needed.
Here’s what the title looks like added to the left of the primary menu:
And here’s what it looks like added to the right:
Leave a Reply