Archived topic
Hide a footer element on main page
5 replies · Started by Unipoliza SL on November 27, 2019
Hi.
I designed my footer with Elementor Header & Footer.
There's a slider that I want it to appear in every of my pages except for the Home page.
Is there a way to hide the element only for the main page?
P.S: the website is currently on local, so I cannot send a link to the site.
Hi there,
if the site is built with Elementor and the theme header / footers have been replaced then there isn't any control that the Theme has over them.
Do you have Elementor Pro ?
No, it's the free version of Elementor and the plugin Elementor - Header, Footer & Blocks
A simple alternative is to install Anywhere Elementor:
https://wordpress.org/plugins/anywhere-elementor/
Any Templates you save is given a shortcode.
So instead of the header / footer plugin you can use those shortcodes with the GP Hook Element:
https://docs.generatepress.com/article/hooks-element-overview/
The header and footer hooks also include the option to disable the theme elements. Then use the Display rules to set where you want them to be displayed, which will allow you to have a different footer or no footer on the home page.
Thanks!
It worked perfectly!
Instead of installing Anywhere Elementor tho, I kept the Header Footer plugin cause it also generates a shortcode.
It was so easy, thank you so much for the help.
Glad to be of help