Talisman
Forum Replies Created
-
Forum: Plugins
In reply to: [I Agree! Popups] Not showing the popup with custom template page attributeYou’re very welcome! ??
Forum: Plugins
In reply to: [I Agree! Popups] Not showing the popup with custom template page attributeget_header()
andget_footer()
are functions used to pull your theme’s header.php and footer.php files into your templates. This makes it easier to maintain the header and footer content across multiple templates, instead of editing each one whenever you wish to make a change.wp_head()
andwp_footer()
are action hooks/functions that let WordPress (and WordPress plugins) dynamically insert code into your theme. These functions will usually be included in your theme’s header.php and footer.php, respectively.I Agree! Popups makes use of both wp_head and wp_footer (I forgot to mention wp_head in my original reply so apologies for that). The plugin’s stylesheet is inserted into wp_head, and the HTML and JavaScript are inserted into wp_footer, so both will need to be utilised in order for your popups to display. This is why in your case, get_header and get_footer both need to be included in your templates.
I hope this makes sense and offers an explanation! Please let me know if you need any further assistance.
Forum: Plugins
In reply to: [I Agree! Popups] Not showing the popup with custom template page attributeHi there,
Thanks for your feedback, glad you’re enjoying the plugin!
In order for the popup to display, the templates you’re using in your theme must utilise the wp_footer() function, as this is where the HTML and JS for your popup will be inserted.
We’ve just tested the plugin with a custom page template and all is working as it should, so please check your template to make sure
wp_footer()
is included (either in footer.php or the template itself if you’re not usingget_footer()
). If it’s there already and you’re still having trouble, please let us know and we can investigate this issue further.Forum: Plugins
In reply to: [I Agree! Popups] How do we add Email box ?Hi there,
Many thanks for the feedback, we’re very happy you’re enjoying the plugin ??
This initial release of I Agree! does not have custom feed support factored in, but it’s certainly something we can consider for a future release. If you can explain the desired functionality in a little more detail then we’ll make a note of it and look into the possibility of its implementation.