• Resolved jk733

    (@jk733)


    Please bear with me, as I am not the developer of our website. Our developer is not available and we don’t have a replacement yet.

    We have the MailChimp form embedded in our footer frame, with CSS. When I changed the API key per developer’s instructions, the form broke and now can’t be edited. (I did try clearing API cache.) I created a new form that is linked to our mailing list. How do I replace the old form (1) with the new form (2)? Can I just delete the old form, or will it then be searching for a nonexistent Form 1?

    I would replace the shortcode with [yikes-mailchimp form=”2″], but I don’t know where to do that.

    Thank you for any help!
    Jennie

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Jennie,

    Sorry to hear about your developer! Hopefully I can help you out. When you changed the API key, was the new key for a different account? If so, the old forms won’t be recognized as part of the account.

    You can just replace the shortcode, yes. It’s hard to know for sure without being able to see the site files, but my guess would be that it’s located in the footer.php file in your theme folder. If you aren’t familiar with the wordpress structure, that’s going to be in wp-content/themes/your-theme-name.

    You can also edit the files in your site’s Theme Editor under the Appearance tab on the Admin side (as opposed to using FTP, for example). If you’re going to do it that way, make sure you don’t accidentally delete any semicolons or anything, or the site could go down. Take a backup before editing anything.

    Let me know if that helps,
    Jon

    Thread Starter jk733

    (@jk733)

    Thanks, Jon, that’s very helpful. The code was where you predicted. I’m planning to back up the theme coding and try to make this change next Friday during Easter/Passover lull. I will be super careful, but if the worst happens and the site goes down, I assume I’ll still be able to go back into WordPress and put the old coding back.

    This is how the code appears now:

    `<?php echo do_shortcode(‘[yikes-mailchimp form=”1″]’); ?>

    That’s followed by the CSS style brackets. I’m wondering whether the 1s below also need to be changed to 2s:

    .yikes-easy-mc-submit-button-1 {
    [specs]
    }

    #yikes-easy-mc-form-1-EMAIL {
    [specs]
    }

    What do you think?

    Jennie

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    Hi @jk733

    If the form ID is 1 (like the shortcode you’re loading in that template tag) then the classes will still have a 1 on them.

    If you need more help after the holidays, please open up another ticket and we’ll be happy to take a look.

    Stay well.
    -Tracy

    Thread Starter jk733

    (@jk733)

    Thanks to both of you–I was able to fix the problem with your help. The new form ID is 2, so I changed the shortcode and all the classes to 2, and all is well. Resolved!

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    That’s great news!

    Stay well.
    -Tracy

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Replacing broken form with new form’ is closed to new replies.