Archived topic
Footer Bar Widget Area
1 reply · Started by Jim on September 20, 2019
Hi. I have this code that I want to hook to the footer bar widget area using code and set it to only show on homepage. Could you kindly assist with the code? I do not want to use the footer bar coz I don't want to hide the image with CSS.
<a href="https://example.com/member/1234" target="_blank"><img src="https://example.com/assets/images/white.png" alt="Alfred" width="100px"></a>
Hi there,
Not sure if I understand. What code do you need?
You should be able to add that HTML using Hooks Elements in after_footer_content hook and set it to display on home page only:
https://docs.generatepress.com/article/hooks-visual-guide/
https://docs.generatepress.com/article/hooks-element-overview/
Let me know if I'm missing something here :)