Support » Plugin: Code Embed » Code Embed: No embed code was found for…

  • Resolved ruauu2


    I tried using Code Embed and followed the directions, but the front end displays “Code Embed: No embed code was found for CODE1”

    On the WP page I have %CODE1% in the Name field and the javascript in the Value field.

    I’m assuming it’s something I’m doing wrong but after re-checking many times, I don’t know what it is. Thank you for any help.

    • This topic was modified 1 month, 1 week ago by ruauu2.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author David Artiss


    How have you set up the custom field, which holds the code you’re trying to embed?

    At the bottom of the page in the page editor is a heading called Custom Fields. When expanded there are two fields: Name, in which I entered %CODE%; and Value, in which I entered
    <div class=”AW-Form-580850878″></div>
    <script type=”text/javascript”>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); = id;
    js.src = “//”;
    fjs.parentNode.insertBefore(js, fjs);
    }(document, “script”, “aweber-wjs-jxor0th8l”));
    Is that what you meant by “…set up the custom field?”

    Plugin Author David Artiss


    Ah, that’s the problem, then – you only need to add the % bits when adding it to your post content. So, change the custom field to be named CODE1 and not %CODE1%.

    Needing the % bits only in the post content makes perfect sense. I have corrected that.

    The error message is gone, but the form still does not display. The desired code does appear in the source of the page so I suspect it’s out of your hands now. Is that correct?

    (I have submitted a support ticket to the entity that provided the code.)

    Thank you for your help, David!

    Plugin Author David Artiss


    You are correct, yes – if the script is appearing in your source as you’d expect then the issue is with that. Good luck with and let me know how you get on.

    A Firefox extension was blocking the JS. I will be changing the code from JS to HTML to avoid such blocking. Thanks again for your help.

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