Hi @jwaite0149
To be certain, are you perhaps redirectin the user directly to a PDF file or similar as a perk for signing up? or are you redirecting them to a WordPress page, where you have a link provided to the file?
The form relies on WordPress loading, so that it can listen to various hooks and process the submission. This process doesn’t occur when it’s directly to a file to be downloaded.
it is set to redirect to https://www.woodwellclimate.org/signup-welcome – a page that I set up on our website. I tested it several times in an attempt to figure out why the plugin form is completely bypasses saving the data to the CC list(s), sending me an email, and not writing to the debug logs.
I should also note that a couple of weeks ago I needed to disconnect the plugin and reconnect with a new authorization code – lists weren’t loading and that rectified the problem and they are properly connected to the plugin.
hmm. While it definitely looks like it, I want to double check that that thank you landing page is making use of the wp_head() function. We rely in that to check if the incoming submission as a form ID and thus also if it has a redirect associated with it, and if yes, make sure we process the form. If there’s no usage of wp_head() then we’re not doing any of those parts.
Interesting to make an option in a plugin that then requires custom coding added to a page.
So next step is the Constant Constact API reference to figure out what wp_head() should include? If not, could you please point me in the right direction? Thank you.
Good day.
We definitely understand why that could be felt, but at the same time making use of wp_head() in theme could arguably be considered so important to the overall functionality of WordPress and plugins, that we feel like we’re able to justify relying on it.
Regarding how it’s used, it’s just a function call that’s placed between the opening and closing <head> tag for a given page. Inside that function is the do_action( 'wp_head' ) action call, that many thing will be relying on to load their own functionality.
That said, we know that it is possible to make very specific template files, and some people are going to make those really reduced down to bare essentials, including not making use of say the header.php file, to better control exactly what all gets loaded in the <head> area. May or may not be what’s going on here. Worst case, if there’s reason that the wp_head() function shouldn’t be used here, we can provide a snippet of code that’s the exact that we use with the plugin, to try and work on say the init hook which is a bit more readily run, but could help with getting submissions processed. The easiest is going to be making use of wp_head() if it’s not already though.