Hi. If I’m using hooks to show a custom-made footer, via shortcode from a Elementor Section, how can I hide that footer-hook on certain pages? Because if I create a landing-page by hiding all elements of the page via GeneratePress Add Ons, the hook is still visible in the landing page…
Tanx!
Thank you. Is there a way to know the id of the generate_before_footer class name or ID, so I can use Simple CSS on the landing page to hide that hook? Or is it better to try the PHP approach?
I would say go with the CSS approach. Couple ways to do this:
– If you want to enter the code in global Simple CSS editor (Dashboard > Appearance > Simple CSS) then you would first need to find the page ID – it’s actually hidden in your URL when you are logged in. Look for post= and that number is your page ID. Or you can use a plugin like: https://wordpress.org/plugins/reveal-ids-for-wp-admin-25/
– Enter the code in the Simple CSS metabox at the bottom of each page where you want to hide the hooks.