Title: Code block not working
Last modified: July 3, 2019

---

# Code block not working

 *  [capri914](https://wordpress.org/support/users/capri914/)
 * (@capri914)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/code-block-not-working/)
 * Doesn’ actually display finished product, only html code.
 * CODE USED
 * [Search flight deals under $100 round-trip with Skyscanner!](http://www.dpbolvw.net/click-9080919-12950086)

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

 *  Thread Starter [capri914](https://wordpress.org/support/users/capri914/)
 * (@capri914)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/code-block-not-working/#post-11697369)
 * It’s not supposed to display a link, but an actual image search box…?
    -  This reply was modified 6 years, 11 months ago by [capri914](https://wordpress.org/support/users/capri914/).
 *  [taratabrizi](https://wordpress.org/support/users/taratabrizi/)
 * (@taratabrizi)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/code-block-not-working/#post-11697643)
 * Hey there,
 * It looks like you’re using the Code Block as explained here:
 * > [Code Block](https://wordpress.org/support/article/code-block/)
 * If that’s the case, it sounds like the Code Block is working correctly, as it
   is meant to display the HTML code itself rather than displaying the “finished
   product”.
 * Have you tried entering your code into the Custom HTML Block? This should turn
   the code into the image search box you are looking for.
 * Here is some info on the Custom HTML Block:
 * > [Custom HTML](https://wordpress.org/support/article/custom-html/)
 * If using that block doesn’t work for you, come back to let us know, and we will
   be happy to help!
 *  Thread Starter [capri914](https://wordpress.org/support/users/capri914/)
 * (@capri914)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/code-block-not-working/#post-11704349)
 * Thanks. However, the custom html block is still showing the URL link only & not
   the image, so essentially not doing the job…?
 *  [taratabrizi](https://wordpress.org/support/users/taratabrizi/)
 * (@taratabrizi)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/code-block-not-working/#post-11719911)
 * What is the HTML code you are trying to use?
 * When you paste the code, make sure to highlight the code and click the “code”
   button at the top of the message box, so the code shows up in your reply as HTML
   rather than a link.
 * Also, can you tell me a little bit more about what you’re trying to accomplish
   and what it should look like, so I can try to re-create it on my site?

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

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

 * ![](https://ps.w.org/gutenberg/assets/icon-256x256.jpg?rev=1776042)
 * [Gutenberg](https://wordpress.org/plugins/gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutenberg/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [taratabrizi](https://wordpress.org/support/users/taratabrizi/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/code-block-not-working/#post-11719911)
 * Status: not resolved