-
henryseo
I copied this code into my functions.php file > https://docs.generatepress.com/article/generate_logo_href/ and it didn’t work?
Has the theme changed? I’ve cleared cache and it doesn’t work…
I have my blog in a subfolder and I want the logo to go to the domain root and NOT the subfolder root…
The code I used was this:
add_filter( 'generate_logo_href', function() { return "https://myw-website.com"; } );
-
David
Hi there,
for the Site Title link you would use this filter hook:
https://docs.generatepress.com/article/generate_site_title_href/
eg.
add_filter( 'generate_site_title_href', function() { return "https://myw-website.com"; } );
-
henryseo
Thank you! Worked great 🙂
-
David
Glad to hear that!
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.