How To Add Your Site Title In Your Nav Menu

How To Add Your Site Title In Your Nav Menu

Author: WP Sites

Date: October 18, 2021 

Category: Theme development, Tips and tricks, Tutorials

This code enables you to add your site title within your nav menu like this :

In this screenshot, the site title displays within the primary nav menu as the first item in the menu which you can easily target using the .site-title-menu class.

The title is only added to the menu if the custom logo has been added & the site title exists otherwise it displays in replace of your custom logo in the default theme position which

This is the first part of the article “How To Add Your Site Title In Your Nav Menu“
written by WP Sites.