Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1303040

    I’m trying to embed a mailchimp archive on one of my webpages. When I’m logged into the site, I can see the archive in the page preview, but when I’m logged out of WordPress it disappears. I put the archive code in a code block. The code comes directly from mailchimp. I can’t figure out why the archive disappears when I’m not logged into the website. For the moment I copied the archive list from my page preview when I’m logged into the site, and just transferred it to a text box, so that I have an archive on my page, but that’s not a good solution, since the list will not update itself. I’ve left the code block on the page so that a moderator can login and view it, and you will see now on the preview the code block version of the archive, and my text box version of the archive. But if you view the page outside of WordPress, you can only see the textbox version.

    #1303535

    Hey PHLwebmaster,

    Thank you for the inquiry.

    How did you add the archive code? Please post the code on pastebin.com so that we could inspect it. We tried to login using the user account above, but it seems to be invalid. Please check the info carefully, or provide another valid account.

    Best regards,
    Ismael

    #1304485

    The webpage with the archive code is this one: https://www.planetree-sv.org/newsletters/

    Note: I added a textbox with the archive below the code module.

    When I’m looking at the page preview in WP I see the code-generated archive + the text archive I made. When I log out of WP and look at the live page (I tried multiple browsers), the code-generated archive is missing.

    The code I used is the standard type of javascript embed code from MailChimp:

    <style type=”text/css”>
    <!–
    .display_archive {font-family: arial,verdana; font-size: 12px;}
    .campaign {line-height: 125%; margin: 5px;}
    //–>
    </style>
    <script language=”javascript” src=”//planetree-sv.us19.list-manage.com/generate-js/?u=bc36c103f34a88c1bea9a801b&fid=26955&show=10″ type=”text/javascript”></script>

    #1304792

    Hi,

    Thank you for the update.

    We tried to dynamically load the script and append it to an element in the document, but this creates more issues than we expected and the campaigns do not show correctly. There might be a missing option somewhere in the mailchimp dashboard that prevents the script from working when not logged in.

    Have you tried asking the mailchimp support regarding the issue? Is this working when a default theme (tt1 theme) is activated?

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.