Archived topic
Block Hook is not showing on mobile
7 replies · Started by Karsten on April 4, 2021
Hi Friends,
Happy Easter!
Please check this page and scroll down to the bottom of the page.
On desktop view you can see a wp_footer Block Hook in blue color. Unfortunately this Block Hook does not appear on mobile view.
What is the reason for this behaviour. Of course I would also like to show the Block hook on mobile view.
Thank you for your support.
Karsten
Hi Karsten,
Content like that should not be added with wp_footer.
Can you try using the generate_after_footer hook instead first?
And make sure your caching plugin is cleared and disabled.
Hi Lea,
thank you, now it works.
Please help me to understand: what kind of content should be added with wp_footer?
Hi Karsten,
wp_footer hook is an action which means that it primarily acts as an event trigger, instead of a content filter.
This should help :)
httpps://developer.wordpress.org/reference/hooks/wp_footer/
Thank you, Ying
What kind of event could be triggered on this position?
I think for this kind of question, it's better to ask google :)
okidoki
Thank you and Happy Easter!
You are welcome and happy easter to you and your family :)