Hi, on the pages that use a specific header with a different logo, I need the URL of that logo to go to a page (not the homepage of the website).
I have seen this and input it:
add_filter( ‘generate_logo_href’,’generate_add_custom_logo_href’ );
function generate_add_custom_logo_href()
{
if ( is_home() )
return ‘http://test.ergapc.co.uk/erg-services/’;
}
But it doesn’t work. It just takes you to the same page you’re on. Any suggestions please? Thank you.
Tried that but it kept showing syntax errors. First an extra { and then an extra return.
Is there another way to achieve this? Using the header in Generate press is great but the logo URL needs to have a way to be changed along with it. Thank you.