• Resolved elasticio

    (@elasticio)


    Hi there,

    I inserted the mc4wp shortcodes on our blog articles a few years ago. Now we are going to move away from MailChimp in general, so there is no need for collecting emails through these shortcodes and I’d like to remove them.

    The problem is – I cannot figure out how. It’s not inserted through functions.php, so it must have been added on each page separately and manually (I really don’t remember how I did that back then), but with Gutenberg being now the default editor for WordPress Posts, I don’t find this shortcode in the text in the backend. Is it somehow a known “behaviour”?

    The link below is just an example; all our blog posts contain this “Enter your email / Subscribe” short form, which was inserted through a mc4wp shortcode. I’m really looking forward to any piece of advice or info!

    • This topic was modified 3 years ago by elasticio.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Lap

    (@lapzor)

    Under Mailchimp for WP > Form > Settings there is a setting “add this form underneath each post”. You can switch that off to see if that’s it. Just deactivating the plugin will also remove the form if it was added via that setting.

    Hope that helps. If you have any questions, please let me know!

    Thread Starter elasticio

    (@elasticio)

    Hi @lapzor ,

    I see no such option under WP > Form > Settings, here I made a screenshot of what I have: https://imgur.com/cJs5C9W

    Deactivating the plugin did remove the form but didn’t remove the shortcode display. Instead of a proper form, I had [mc4wp_form id=”708″] displayed at the bottom of each blog post.

    That’s the mystery. It’s not like I didn’t check all plugin settings😅 I just didn’t find anything that would even remotely indicate a solution to my problem.

    Plugin Contributor Lap

    (@lapzor)

    Hi,

    If it’s still there after deactivating the plugin it must indeed have been added via some custom code outside of the plugin. I can’t tell you how of where that is done as there are so many different possible ways of doing that. I recommend you download your theme and use a text editor that can search inside all the files in a folder to search for mc4wp.

    Hope that helps. If you have any questions, please let me know!

    Thread Starter elasticio

    (@elasticio)

    Hi @lapzor

    Ok, if you say that it wasn’t added on each page manually but rather via some custom code outside the plugin – that’s already a good hint where to continue my investigation. I’ll try what you suggested first, though.

    Thanks!

    Plugin Contributor Lap

    (@lapzor)

    I mean… it could have been added manually, but then you would see it if you edit the page, right?

    Thread Starter elasticio

    (@elasticio)

    Well, that’s what I was trying to find out; namely, if somehow, the automatic change that WordPress did from the Classic Editor to Gutenberg Editor messed with the visibility of the shortcode. But I’ve just installed the plugin that disables Gutenberg, and the shortcode is still not there. So, I must have added it in a different way.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot remove the mc4wp shortcode’ is closed to new replies.