Trying to get header logo to link to site URL
-
I have a logo in the header of my theme, and I’m trying to put a link around it to the home page, but the link is generating the full name of whatever page I am on rather than simple home page URL. I can input the home page URL’s full path manually and make it work, but I want it to work using WordPress code. I have tried using wp_title and bloginfo(‘name’) (syntax may not be perfect there; I don’t have the code in front of me), but I always get the post title, not the home page URL. I’m doing this site for someone else so I’m reluctant to paste in that person’s URL. Any guidance would be appreciated. Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Trying to get header logo to link to site URL’ is closed to new replies.