- This topic has 3 replies, 2 voices, and was last updated 3 years, 4 months ago by David.
September 21, 2019 at 5:42 am #1015118Paolo Fauci
I’m using 2 plugins
2 “SOGO Add Script Header Footer” for a Script verifying emails
I would like to know if with the generatepress element I can insert scripts for all pages and for individual pages.
That way I can delete 2 plugins.
The email verification script must be entered just before the </body> tag of your website.
While that of Histast I can insert it wherever I prefer in the footer
My question is: how do I create these Script Elements with GeneratePress?
This is something I’ve never done.
Can you help me?
PaoloSeptember 21, 2019 at 6:09 am #1015140DavidStaffCustomer Support
yes you can use the Hook Element for this, which has Display Rules so can be applied to the Entire site or specific posts, pages, archives etc.
All scripts need to be wrapped in:
<script> // Your script goes here </script>
Adding Scripts to the
<head>– select the
<footer>or just before the
</body>– select the
Just after the opening
<body>select Custom Hook and add
The last one will be added to the list of hooks in GPP 1.9September 21, 2019 at 8:59 am #1015323Paolo Fauci
Hi David, thank you very much
When I create element and put the code I leave it so because they are already present
I don’t have to enter this code in yours. Right?
If possible I would like to ask another thing about “elements”
In the wordpress articles there are the categories
How can I generate pages from these categories?
How do I customize these pages with GeneratePress and Elementor?
Let me know if I need to open another ticket for this question
ThanksSeptember 21, 2019 at 9:03 am #1015325
- You must be logged in to reply to this topic.