Title: Code not working
Last modified: July 1, 2020

---

# Code not working

 *  Resolved [katerila](https://wordpress.org/support/users/katerila/)
 * (@katerila)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/code-not-working-21/)
 * Hi, I just added this plugin so I can add custom JS to my posts. But when I try,
   nothing happens, I just see blank space on the page.
 * What am I doing wrong?
 * thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcode-not-working-21%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/code-not-working-21/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/code-not-working-21/page/2/?output_format=md)

 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13059342)
 * Can you provide some more detail?
 * What code have you added and what should it look like, when working?
 *  Thread Starter [katerila](https://wordpress.org/support/users/katerila/)
 * (@katerila)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13060311)
 * This is the code:
    <script type=”text/javascript” src=”//go.linkwi.se/delivery/
   js/crl.js”></script> <script type=”text/javascript”> LinkwiseCreative.show(“11739-
   71”, “CD24327”, “_blank”); </script>
 * It should appear as a ferry booking form that you can enter your dates and it
   takes you to the booking site.
 * I added it as a Custom Field called CODEletsferry and I put it inside my post
   as instructed by the plugin {{CODEletsferry}}. I even published the page with
   this code in it but nothing comes up in it, just blank space.
 * First time I’m trying to add JS to my site so I’m not sure what I’m doing wrong.
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13060348)
 * That code isn’t appearing on that page at all.
 * You’re not using any page builders, are you? I assume `{{CODEletsferry}}` is 
   being added to a standard post edit screen?
 *  Thread Starter [katerila](https://wordpress.org/support/users/katerila/)
 * (@katerila)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13061006)
 * I do use Elementor but I’m not using it on this specific post. This post was 
   built using wordpress. And yes, it’s added in the standard post edit screen
 * thanks!
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13062777)
 * Are you using the block or classic editor?
 *  Thread Starter [katerila](https://wordpress.org/support/users/katerila/)
 * (@katerila)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13079710)
 * Sorry for the late response, I’m using the classic editor. Any idea how to fix
   this issue?
 * thanks
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13090442)
 * Ok, so can you tell me what’s in both the fields in the custom fields section?
   What’s in the name and value fields?
 *  Thread Starter [katerila](https://wordpress.org/support/users/katerila/)
 * (@katerila)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13092273)
 * Name is CODEletsferry
    And value is: <script type=”text/javascript” src=”//go.
   linkwi.se/delivery/js/crl.js”></script> <script type=”text/javascript”> LinkwiseCreative.
   show(“11739-71”, “CD24327”, “_blank”); </script>
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13093315)
 * And you have `{{CODEletsferry}}` in the post editor?
 * Can you do me a favour and disable the Code Embed plugin? When you view the post
   on your site (i.e. not in the editor) can you now see `{{CODEletsferry}}` appear?
 *  Thread Starter [katerila](https://wordpress.org/support/users/katerila/)
 * (@katerila)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13130767)
 * Yes, I do see it.
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13130798)
 * I was hoping you wouldn’t say that!
 * Okay, I need you to download and install and older version of the plugin – v2.3.2,
   more specifically. You can find it here: [https://wordpress.org/plugins/simple-embed-code/advanced/](https://wordpress.org/plugins/simple-embed-code/advanced/).
 * Please install that and let me know once thats up and running. It should still
   not work, as is now, but will add some extra information to your page source 
   that I could do with.
 *  Thread Starter [katerila](https://wordpress.org/support/users/katerila/)
 * (@katerila)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13131080)
 * Ok it’s installed. Now what?
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13131309)
 * I assume you can no longer see `{{CODEletsferry}}` on the page now?
 * Is the original example page still valid? i.e. [https://stayclosetravelfar.com/best-tips-spots-for-santorini-pictures/](https://stayclosetravelfar.com/best-tips-spots-for-santorini-pictures/)
 *  Thread Starter [katerila](https://wordpress.org/support/users/katerila/)
 * (@katerila)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13131396)
 * Yes, I don’t see the code anymore on the page
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/code-not-working-21/#post-13131585)
 * Thanks.
 * So, so one of two things is happening…
 * 1. The plugin is erroring and failing before the output is written out. But this
   seems unlikely – it takes the code (i.e. `{{CODEletsferry}}`) and replaces it
   with your script. If it was failing, that code would still be there.
    2. Something
   outside the control of my plugin is modifying page content.
 * Right now it looks like the latter but I have no idea knowing what.
 * That plugin version you installed adds HTML comments around the output and they
   aren’t appearing either – I was wondering if my plugin was just writing out empty
   content for some reason but, if this was the case, we’d still see the comments.
 * You may want to try and age-old trick of switching off all other plugins to see
   if that cures it and, if not, temporarily switching to a different theme for 
   the same reason.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/code-not-working-21/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/code-not-working-21/page/2/?output_format=md)

The topic ‘Code not working’ is closed to new replies.

 * ![](https://ps.w.org/simple-embed-code/assets/icon.svg?rev=3073981)
 * [Code Embed](https://wordpress.org/plugins/simple-embed-code/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-embed-code/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-embed-code/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-embed-code/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-embed-code/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-embed-code/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [katerila](https://wordpress.org/support/users/katerila/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/code-not-working-21/page/2/#post-13131839)
 * Status: resolved