Constant Contact Dependency
-
Constant Contact integration was configured and when the shortcode was placed on on a standard page, successfully managed to add subscribers to CC.
There was a request however to move the form from a page to exist within a dropdown under the header triggered by a menu item.
function do_cf7_shortcode() { $docf7_settings = get_option( 'docf7_settings' ); $docf7_shortcode = $lwmldd_settings['docf7_shortcode']; echo '<div id="fc7_' . $docf7_shortcode . '" class="docf7-container" aria-expanded="false">'; echo do_shortcode( '[contact-form-7 id="' . $docf7_shortcode . '" title="Mailing List Form"]' ); echo '</div>'; } add_action( 'wp_footer', 'do_cf7_shortcode', 1 );
Using that function the form is successfully displayed in a dropdown beneath the header/navigation and filling out/submitting the form works as expected.
What doesn’t work however is getting the submissions INTO ConstantContact.
So what I’m wondering is if the above method of loading the CF7 form using
do_shortcode()
results in a dependency either failing to load or loading at the incorrect time?Is there any other reason why this would work within a page but not within a dropdown on every page?
The page I need help with: [log in to see the link]
- The topic ‘Constant Contact Dependency’ is closed to new replies.