Hello @lew1s
You should be able to adapt the snippet from here – https://creativethemes.com/blocksy/docs/code-snippets/change-the-logo-url/ – to automatically detect if you’re on the homepage and modify the link, while leaving the others as they are.
You may use the is_home() function of WordPress – https://developer.ww.wp.xz.cn/reference/functions/is_home/ – to only execute the snippet on the homepage.
Please note that we won’t be able to offer support for personalising custom code snippets. They are provided as-is and require PHP knowledge to be modified.
Hope this points you in the right direction!
Thanks.
Thread Starter
lew1s
(@lew1s)
I dont want to change the URL but wrap into h1 like here: https://www.screencast.com/t/xhhwhQhcCBcc
Hi @lew1s
Ah, apologies, I have sent you the wrong link, since these two are close together in the documentation sidebar and I right clicked on the wrong one. This should be the correct one – https://creativethemes.com/blocksy/docs/code-snippets/change-site-title-html-tag/ – with the same instructions as above.
Thanks.
Thread Starter
lew1s
(@lew1s)
This is not what I want. I would like to wrap the logo in to h1 only on home page. This is how blogs are doing now.
What you gave me creates a Tag name and wrap into h1 but I want to wrap the logo. Thanks,
Hello @lew1s
I’m really sorry, but these are the only options available. We do not offer an option to wrap the image itself into a H1, if that’s what you’re referring to.
I can note this in the feature requests list, if you’d like. 🙂
Thanks.