• Resolved staticnuts

    (@staticnuts)


    First off, I’m not a coding wiz, but I can copy & paste where needed.

    So my headache is I want to add a Constant Contact form to my single.php page so readers can subscribe easier. Doing that is where I am stuck.

    This doesn’t work:

    <!– #post-## –>
    [constantcontactapi formid=”0”]
    <?php comments_template( ”, true ); ?>
    <?php endwhile; // end of the loop. ?>
    </div>

    Can a wp coding noob get a little help please?

    https://www.ads-software.com/extend/plugins/constant-contact-api/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Zack Katz

    (@katzwebdesign)

    You to use the do_action() function. What you’ll use is:

    <!-- #post-## -->
    <?php do_action('[constantcontactapi formid="0"]'); ?>
    <?php comments_template( '', true ); ?>
    <?php endwhile; // end of the loop. ?>
    </div>

    Hope that helps.

    Thread Starter staticnuts

    (@staticnuts)

    Hey Zack Katz,

    I think that worked, but it seems for some reason WP won’t save the CC form I create. Now another problem to figure out. I’ll committ on this thread if I a form fix doesn’t fix my original problem.

    Thank you again Zack,

    Thread Starter staticnuts

    (@staticnuts)

    I believe the plugin saved a form since I created a new form and was told formid=”2″, but no form appears on the category page. ??

    I have an issue with the CC form designer not showing tabs for the forms I’ve saved… the solution was to use IE rather than Firefox when I’m going to work in the CC form designer. Not sure if that’s your issue, maybe it’ll help someone.

    Plugin Author Zack Katz

    (@katzwebdesign)

    This should be fixed in Version 2.3.8.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Constant Contact for WordPress] How to Insert Short Code in Single.php?’ is closed to new replies.