WordPress.org

Ready to get started?Download WordPress

Forums

Constant Contact WordPress Widget
[resolved] where do I find the Form ID Code (3 posts)

  1. dashaluna
    Member
    Posted 3 years ago #

    Hello,

    I think I'm missing something out here. I want to display the from in my footer, so I'm using the following code: <?php do_shortcode('[constantcontact id="#"]'); ?>.

    However, I don't seem to find where the id is specified, so I can't add it to the code. Where do I look for Form ID Code??

    Thanks for help,
    Dasha

    http://wordpress.org/extend/plugins/constant-contact-signup-form-widget/

  2. dashaluna
    Member
    Posted 3 years ago #

    I found this comment on the thread here: http://www.seodenver.com/constant-contact-wordpress-widget/

    To find your Form ID code, do the following:

    1. Sign in to Constant ContactClick on the "My Settings" tabClick on the "Site Visitor Signup" sub-navigation link
    2. Click on "Start Wizard to generate HTML code
    3. "Click "Next" until you come to the "Get HTML Code" page -- it doesn't matter which type of form you choose
    4. Once you've generated a form, look for the following code:

    For Forms: <input type="hidden" name="m" value="[number]">
    For Buttons or Text Links: <a href="http://visitor.constantcontact...[number]

    Your [number] should be entered into the Form ID field. Once you enter the correct code into the Form ID field, the widget should work for you. If not, let me know.

    P.S. I've added that number to the code <?php do_shortcode('[constantcontact id="11****"]'); ?> in my footer.php file. And I registered a sidebar to hold the widget, but it still doesn't appear :S

  3. Zack Katz
    Member
    Plugin Author

    Posted 3 years ago #

    The ID for the shortcode is the widget ID, not the Form ID...After configuring your widget on the widgets page, click on the "Form Settings" tab and check the checkbox that says:

    Do not display widget in sidebar.
    If you are exclusively using the [constantcontact id=#] shortcode, not the sidebar widget. Note: you can use a widget in both sidebar and shortcode at the same time.

    Use the code shown there, and it'll work for you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic