https://prnt.sc/vMYVczpy2v3x
]]>the_content
filter or add an additional new filter in shouldDisplay()
which allows returning false
there based on our own custom logic?
Currently function contentDisplay
is running at every single post/page display and sometimes causes general server overload issues when it looks for available forms and markup in database even though the output is never required/used on our site.
I just realized I can’t seem to use the wp_footer action hook anymore in any of the FSE themes (only tested with WordPress themes). I did a quick search in the code, and it’s nowhere to be found, in WordPress repo neither.
Lot of scripts rely on this; why can’t I find any information about this at all? It’s super weird. And what’s the alternative?
]]>https://www.ads-software.com/support/topic/popup-is-optivated-even-without-the-casent-of-cookies/
My Last Answer After Closing
I tried to send the form from your site but do not send
I did some tests, I inserted the ID 1409 in the code below, the site did not work
I copied the code in the Functions.php file of Thema Child
<? PHP // Ignore This First Line When Copying to Your Child Theme’s Functions.php File.
Function launch_a_popup_IF_COOKIE_CONSENT_ACCEPTED () {?>
<Script Type = “Text/Javascript”>
Const Popupid = 1409; // Change to Your Popup ID Number.
// Here, We Use The Compliazian Plugin Accept Button Css Classes. Replace with Yours.
Document.queryselettor (‘Button.cmplz-Btn.cmplz-accept’). Aidentlisthener (‘Click’, Function (Event) {
Console.info (‘%Ci Heard a Button Click for Accepting The Cookie Notice.’, ‘Color: Limegreen; Font-Size: 18px’);
Settimeout (Function () {
Pum.open (Popupid); // Launch the Popup After in Delay.
}, 2000); // Change the 2 Second Delay to the Amount You Want.
}, false); // listener
</script>
<? Php}
Add_ottion (‘WP_Footer’, ‘Launch_a_popup_IF_COOKIE_CONSENT_ACCEPTED’, 500);
Thanks
]]>I attempted to enqueue the frontend.js and got it to load, but it doesn’t include the REST API info like I’m seeing on the old template. I’ve attempted in my dev environment to make the new template the primary, but it doesn’t seem to make a difference.
I’d prefer to keep my URLs private, so I can send via email or IM if someone wanted to take a look.
]]>Hope someone could give me some help on the following:
Some js doesn’t work, because the Neve theme I’m using doesn’t has a wp_footer.
I tried several things, but when working with shortcodes from Paytium, the data doesnt follow trough. To my knowledge it has to do with the missing wp_footer issue
Does someone know how to add code to functions.php to fix this?
Thanks a lot,
Suus
“Your active theme might be missing the call to <?php wp_footer(); ?>”
Everything is working, but it’s slightly concerning. Any idea what is causing it and what would rectify it? Thanks!
]]>Your active theme might be missing the call to <?php wp_footer(); ?>
Always have it just before the closing tag of your theme, or you will break many plugins. See www.ads-software.com.
As I’ve only added / deleted some plugins rather than worked directly on the CSS etc I wondered what might have caused it.
I’ve made similar changes across all 4 sites but only this one shows this particular possible error message
Have you ever seen similar?
]]>how do I insert a Collapse-O-Matic shortcode in a template?
Thanks in advance!
]]>I have tried deactivating some/all of these with the same results. I initially used v3 recaptua interrogation. Then tried v2. Didn’t work. So back to v3.
I am at a loss and can’t get my mind around this. Hoping someone has some suggestions. I have a couple of other pages on website that use the forms as well. Thanks for any help!!!
]]>