Title: [Plugin: Constant Contact for WordPress] How to Insert Short Code in Single.php?
Last modified: August 20, 2016

---

# [Plugin: Constant Contact for WordPress] How to Insert Short Code in Single.php?

 *  Resolved [staticnuts](https://wordpress.org/support/users/staticnuts/)
 * (@staticnuts)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-constant-contact-for-wordpress-how-to-insert-short-code-in-singlephp/)
 * 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?
 * [http://wordpress.org/extend/plugins/constant-contact-api/](http://wordpress.org/extend/plugins/constant-contact-api/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Zack Katz](https://wordpress.org/support/users/katzwebdesign/)
 * (@katzwebdesign)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-constant-contact-for-wordpress-how-to-insert-short-code-in-singlephp/#post-2606739)
 * 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](https://wordpress.org/support/users/staticnuts/)
 * (@staticnuts)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-constant-contact-for-wordpress-how-to-insert-short-code-in-singlephp/#post-2606741)
 * 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](https://wordpress.org/support/users/staticnuts/)
 * (@staticnuts)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-constant-contact-for-wordpress-how-to-insert-short-code-in-singlephp/#post-2606742)
 * 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. 🙁
 *  [shawduh](https://wordpress.org/support/users/shawduh/)
 * (@shawduh)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-constant-contact-for-wordpress-how-to-insert-short-code-in-singlephp/#post-2606814)
 * 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](https://wordpress.org/support/users/katzwebdesign/)
 * (@katzwebdesign)
 * [14 years ago](https://wordpress.org/support/topic/plugin-constant-contact-for-wordpress-how-to-insert-short-code-in-singlephp/#post-2606821)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/constant-contact-api_f6e5e6.svg)
 * [Constant Contact for WordPress](https://wordpress.org/plugins/constant-contact-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/constant-contact-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/constant-contact-api/)
 * [Active Topics](https://wordpress.org/support/plugin/constant-contact-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/constant-contact-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/constant-contact-api/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Zack Katz](https://wordpress.org/support/users/katzwebdesign/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/plugin-constant-contact-for-wordpress-how-to-insert-short-code-in-singlephp/#post-2606821)
 * Status: resolved