Title: ad code showing as text
Last modified: August 16, 2022

---

# ad code showing as text

 *  [ketanco](https://wordpress.org/support/users/ketanco/)
 * (@ketanco)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/ad-code-showing-as-text/)
 * I placed a google ad code but it shows as text. i am not familiar much with blocks
   since it has been a while i used wordpress but i went into block and then clicked
   on paragraph option – i think this is how we place text right ? – and then i 
   chose code option and pasted the code. but it shows as text so i removed it. 
   how can i fix this so it doesnt show as text but function as ad code?

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

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/ad-code-showing-as-text/#post-15919420)
 * >  went into block and then clicked on paragraph option – i think this is how
   > we place text right?
 * Yes, this is where we place **_text_**. But but code is not text 😀
 * Put your AdSense code in a **CUSTOM HTML** block.
 * You may also consider using a plugin to automatically insert the AdSense code
   into various areas on your site, rather than inserting the code manually into
   individual posts/pages. See: [https://wordpress.org/plugins/search/adsense/](https://wordpress.org/plugins/search/adsense/)
 * Good luck!
 *  Thread Starter [ketanco](https://wordpress.org/support/users/ketanco/)
 * (@ketanco)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/ad-code-showing-as-text/#post-15919628)
 * ok code is not text, yes )))))
 * well now i did it but it doesnt appear on firefox but on chrome it appears as
   a blank space and not on the actual widget place – totally confused
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/ad-code-showing-as-text/#post-15923215)
 * If the code appears in the post’s HTML, then everything is OK from WordPress 
   and your site’s end. The rest is up to Google (and your AdSense account settings).
 * If you could provide a link to the post, I could check it at my end for you.
 * Good luck!

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

The topic ‘ad code showing as text’ is closed to new replies.

## Tags

 * [ad code](https://wordpress.org/support/topic-tag/ad-code/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [George Appiah](https://wordpress.org/support/users/gappiah/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/ad-code-showing-as-text/#post-15923215)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
