Archived topic
Hide header and footer dynamically based on query parameters
17 replies · Started by Gerard on June 14, 2021
Strange. The exact same code works on my sandbox site.
footer and footer widget renders here - https://dev-generate-press.pantheonsite.io/
footer and footer widget removed here - https://dev-generate-press.pantheonsite.io/?landing=1
On ?landing=1, you can inspect the page and see that the site-footer element is completely empty.
Can you tell us how you're adding the code? Perhaps, let us check the backend?
Let us know.
Thanks for trying it on your side, Elvin.
Knowing that it was working for you, I cleared all the cache again and now it is working fine ;)
Just as your signature states:
> A wise man once said:
> "Have you cleared your cache?"
This topic has been resolved now.
Thank you,
Gerard
Ah right yes! nice catch lol.
Glad you got it sorted. No problem. :D