Jump to content

Archived

This topic is now archived and is closed to further replies.

x69chen

Add a welcome message in Navbar

Recommended Posts

x69chen

Hey currently I am using woocommerce plugin to support my website,

 

I am trying to add a welcome message like "Welcome, $username" or "Welcome, guest" in navbar, 

 

but I am not sure if I should edit the "section.php" under "navbar" folder, or I can just add the customized code in the "function.php"?

 

Thank you

Share this post


Link to post
Share on other sites
Danny

Hi,

 

If you want to do something like this, you will want to either use section like PL NextBox, use a hook or actually create a child section of NavBar via a child theme. Then add  your code.  


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×