Archived topic
hooks not working in Generatepress elements
1 reply · Started by Deepak on November 22, 2020
Hello Team,
I am having this weird issue wherein the hooks I add for wp_head is not showing. It was working some time back but I have been doing some issue debugging (unrelated to the one I am reporting here) for which I had to change the content of this hook multiple times which is when I observed that suddenly the content of wp_head hook is not shown at all
I have shared the login credential of my staging site, the same issue is there on production site as well. The hook was working before and after doing multiple updates to same hook it stopped working.
Thanks in advance
Hi,
Can you explain a bit more how it's not working?
I've checked your site and the Hooks Element module seems to be working as intended as your Hook elements appear in the DOM structure on the Display location specified on it.
With the exception of your "Preload style" Hook element which is being merged by Autoptimize along with your other CSS styles.