Title: Link With JavaScript
Last modified: November 14, 2020

---

# Link With JavaScript

 *  [SickSquirrelTwo](https://wordpress.org/support/users/sicksquirreltwo/)
 * (@sicksquirreltwo)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/)
 * I’m building a website and I’m trying to paste the link for a product. The link
   has JavaScript and it appears as text .
 * How do I convert that to a link?

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/#post-13661736)
 * Can you post the full code here?
 *  Thread Starter [SickSquirrelTwo](https://wordpress.org/support/users/sicksquirreltwo/)
 * (@sicksquirreltwo)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/#post-13663165)
 *     ```
       <script type="text/javascript" src="//cdn.refersion.com/creative.js"></script>
       <script>$rfsn_creative.generate('refersion_client/13105/creatives/dynamic/71953-8f37ee373e5aec464f6670a76e77213d.json', {
       	aid: '4883327.c0dff8'
       });</script><div id="rfsn_img_71953"></div>
       ```
   
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/#post-13664028)
 * Did you remember to use the **CUSTOM HTML** block? I just tested it and it works.
 * The paragraph block accepts everything you put there as text, and it will display
   it as such (provided WordPress doesn’t strip off some code for security reasons).
   If you use the Custom HTML block, anything you put in it will be “rendered” or
   converted for you automatically.
 * ![](https://i0.wp.com/i.imgur.com/9i1DOEn.png?ssl=1)
 *  Thread Starter [SickSquirrelTwo](https://wordpress.org/support/users/sicksquirreltwo/)
 * (@sicksquirreltwo)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/#post-13664060)
 * Thank you. How do I use or find the custom block feature ? I wasn’t told to use
   it so I can’t remember to use it
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/#post-13664259)
 * If you’re using the new WordPress editor (aka Gutenberg), type “HTML” after you
   click the PLUS(+) button to insert a new block.
 * ![](https://i0.wp.com/i.imgur.com/F7ztWtY.png?ssl=1)
 * If you’re using the old editor (ie Classic Editor plugin), you’ll need to switch
   to the “Text” view to paste your code. There are no blocks here.
 * ![](https://i0.wp.com/i.imgur.com/On09woa.png?ssl=1)
 *  Thread Starter [SickSquirrelTwo](https://wordpress.org/support/users/sicksquirreltwo/)
 * (@sicksquirreltwo)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/#post-13665755)
 * Thank you. So text editor and click code? I’m going to try it now
 *  Thread Starter [SickSquirrelTwo](https://wordpress.org/support/users/sicksquirreltwo/)
 * (@sicksquirreltwo)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/#post-13665771)
 * Nothing is showing up
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/#post-13666050)
 * Can you clarify what you mean by “nothing is showing up”? The “custom HTML block”
   doesn’t show up?
 * Are you using the Gutenberg editor? Classic Editor? Or some other 3rd-party page
   builder?
 * Can you give a link to the page in question so I cann take a look?
 * Standing by.
 *  Thread Starter [SickSquirrelTwo](https://wordpress.org/support/users/sicksquirreltwo/)
 * (@sicksquirreltwo)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/#post-13666970)
 * I use the classic editor. No link showed up as it did for you.
 * I’m trying something different but I used WordPress
 * The regular link and formatted text and image shows up. Tomorrow or today will
   will try the JavaScript The software is bbPress which is WordPress but a little
   different.
 * Thank you
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/#post-13667254)
 * > I use the classic editor. No link showed up as it did for you.
   >  …. The software
   > is bbPress which is WordPress but a little different.
 * The Gutenberg and Classic editors are for WordPress.
 * bbPress is not WordPress. bbPress is a WordPress forum PLUGIN, with its own editor
   that has nothing to do with WordPress’ Gutenberg or Classic Editors. This key
   part of your setup should have been brought out in your very first post.
 * In any case, I just installed the bbPress plugin and set up a simple forum to
   test this for you. And the code got rendered correctly as before, as shown below
 * I’ve put the live link to the test bbPress forum post below, but this sandbox
   site will be live for only 24 hours. So I’ve also I’ve taken a screenshot below.
 * [https://s-qv8xbcdvk66bl.eu1.wpsandbox.org/forums/topic/hello-world/](https://s-qv8xbcdvk66bl.eu1.wpsandbox.org/forums/topic/hello-world/)
 * ![](https://i0.wp.com/i.imgur.com/0eWXL0p.png?ssl=1)
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/#post-13667329)
 * At this point, I need these three critical pieces of information before I can
   be of any further help to you.
 * 1) Kindly confirm if you’re using an administrator-level account. If not, please
   confirm the WordPress user type you’re using to make this post. I want to confirm
   WordPress is not stripping out the code for lower-privileged users.
 * 2) Kindly give a screenshot of the screen where you’ve entered the code. I want
   to confirm the specific editor you’re using (even bbPress can be configured with
   a custom editor) and that the code is going where it should go.
 * 3) Please give a link to a page on your website where you’ve posted this code.
   It doesn’t have to be a live link that Google can index (eg you can use the CODE
   button while posting), but I need enough info to be able to visit the page in
   question and check exactly what code WordPress is outputting.
 * It’s OK if you don’t want to provide any or all of this information. But, without
   these, there’s not much I can do to help you further.
 * Standing by.
 *  Thread Starter [SickSquirrelTwo](https://wordpress.org/support/users/sicksquirreltwo/)
 * (@sicksquirreltwo)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/#post-13670229)
 * I added bbPress two nights ago. It wasn’t a factor in my first post.
 * I’m going to try the forum part of it. The blog isn’t working properly.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Link With JavaScript’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 12 replies
 * 2 participants
 * Last reply from: [SickSquirrelTwo](https://wordpress.org/support/users/sicksquirreltwo/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/link-with-javascript-2/#post-13670229)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
