Title: Shortcode is showing
Last modified: August 30, 2016

---

# Shortcode is showing

 *  Resolved [roro](https://wordpress.org/support/users/roro/)
 * (@roro)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shortcode-is-showing/)
 * The shortcode “[adblockingdetector id=”55e9c8908dfba”]” is showing on the site.
   Y put it in my header.
 * Im using also the plugin “Smart Ads” that uses [smartads] format, is that the
   problem?
 * [https://wordpress.org/plugins/ad-blocking-detector/](https://wordpress.org/plugins/ad-blocking-detector/)

Viewing 1 replies (of 1 total)

 *  [John Morris](https://wordpress.org/support/users/jtmorris/)
 * (@jtmorris)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shortcode-is-showing/#post-6520456)
 * Hello roro,
 * Smart Ads is unlikely to be the problem, but that’s just a guess.
 * How exactly is the shortcode placed in your header? Did you edit your theme’s
   template to put it there? Are you using a plugin to modify the header?
 * However you are doing it, that method must process shortcodes. Not all header
   modification plugins do this. And if you’re manually editing your theme’s template,
   you must make sure to run the shortcode through WordPress’ PHP function, _[do\_shortcode()](https://developer.wordpress.org/reference/functions/do_shortcode/)_.
 * Example:
 *     ```
       <?php echo do_shortcode( '[adblockingdetector id="55e9c8908dfba"]' ); ?>
       ```
   
 * In order to be more helpful, I will need more information on exactly how it is
   placed in your header.

Viewing 1 replies (of 1 total)

The topic ‘Shortcode is showing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ad-blocking-detector_466992.svg)
 * [Ad Blocking Detector](https://wordpress.org/plugins/ad-blocking-detector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-blocking-detector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-blocking-detector/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-blocking-detector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-blocking-detector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-blocking-detector/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [John Morris](https://wordpress.org/support/users/jtmorris/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/shortcode-is-showing/#post-6520456)
 * Status: resolved