I am installing my gem theme wordpress installation in a subfolder of a main site.
I need the hyperlink of main site logo for the wordpress installation to point to another path - not the root of the wordpress installation.
I would normally do this by editing the header.php file for the theme, but expect to see a line of code something like this where I can change the href= part to my custom path.
You can create duplicate of this function in the child theme with another name and then set the function in the template header.php in the child theme.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
I am installing my gem theme wordpress installation in a subfolder of a main site.
I need the hyperlink of main site logo for the wordpress installation to point to another path - not the root of the wordpress installation.
I would normally do this by editing the header.php file for the theme, but expect to see a line of code something like this where I can change the href= part to my custom path.
<a href="<?php echo site_url(); ?>"><img src="<?php header_image(); ?>" alt="<?php bloginfo('name'); ?>" /></a>
But in your theme there is nothing like this in header.php as far as I can see.
Could you tell me where to change it please?
Thanks
Hi,
You need to edit:
/wp-content/themes/thegem/functions.php
line 2141
You can create duplicate of this function in the child theme with another name and then set the function in the template header.php in the child theme.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Perfect. That worked fine.
Thanks Gregor
Welcome!
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver