Title: Shortcode issue
Last modified: April 20, 2020

---

# Shortcode issue

 *  Resolved [bigbigmonkeyman](https://wordpress.org/support/users/bigbigmonkeyman/)
 * (@bigbigmonkeyman)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/)
 * Hi
 * I have added Ad Inserter shortcode to all the text marker boxes on my maps. The
   marker boxes expand when a marker is clicked on.
 * On my test map only one marker box displays the Adsense text when it expands.
   The Ad Inserter code block does not appear on the other marker.
 * I have unchecked all block and insertion limits.
 * The password for the test map URL supplied is ‘hello1’ … you’ll see there are
   two markers, but only one displays the ad. On my other maps on the same website
   there are no ads showing from the shortcode.
 * I was hoping you may know what is causing this issue, and if there is a fix.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-issue-29%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12701008)
 * Please enable remote debugging:
    [https://wordpress.org/support/topic/ad-inserter-support-before-you-ask-for-help/](https://wordpress.org/support/topic/ad-inserter-support-before-you-ask-for-help/)
 *  Thread Starter [bigbigmonkeyman](https://wordpress.org/support/users/bigbigmonkeyman/)
 * (@bigbigmonkeyman)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12701049)
 * Hi Spacetime – remote debugging now enabled
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12701060)
 * None of the blocks has any page type enabled:
    [https://adinserter.pro/documentation/wordpress-page-types](https://adinserter.pro/documentation/wordpress-page-types)
 * You can also insert a shortcode that ignores enabled page types by adding ignore
   =”page-type” to the shortcode (for example, `[adinserter block="BLOCK_NUMBER"
   ignore="page-type"]`).
 *  Thread Starter [bigbigmonkeyman](https://wordpress.org/support/users/bigbigmonkeyman/)
 * (@bigbigmonkeyman)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12701065)
 * And I just disabled caching
 *  Thread Starter [bigbigmonkeyman](https://wordpress.org/support/users/bigbigmonkeyman/)
 * (@bigbigmonkeyman)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12701097)
 * I had toggled page types earlier with no luck.
 * Your shortcode however works when applied to the test map as [adinserter name
   =”Block 1″ ignore=”page-type”]
 * Many thanks!
 * I will now apply it to all maps.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12701125)
 * Great 🙂
 * If you like the plugin I would appreciate if you could write a short review:
   
   [https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post](https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post)
 * Thank you!
 *  Thread Starter [bigbigmonkeyman](https://wordpress.org/support/users/bigbigmonkeyman/)
 * (@bigbigmonkeyman)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12701178)
 * Appears to have not worked, for example … [https://www.wikifishingspots.com.au/wa-fishing-map/](https://www.wikifishingspots.com.au/wa-fishing-map/)
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12701352)
 * It seems you put block 1 in a widget but you disabled widget for block 1.
    You
   also set maximum insertions of block 1 to 0. Why?
 * Check also Javascript erros in the browser console.
 *  Thread Starter [bigbigmonkeyman](https://wordpress.org/support/users/bigbigmonkeyman/)
 * (@bigbigmonkeyman)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12701453)
 * Hi
 * I have deleted the widget, and added 900 insertions. I thought a zero setting
   meant unlimited insertions.
 * Can’t see any javascript errors.
 *  Thread Starter [bigbigmonkeyman](https://wordpress.org/support/users/bigbigmonkeyman/)
 * (@bigbigmonkeyman)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12701579)
 * Toggled a few settings, still no luck.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12701681)
 * Ad Inserter is not called for any shortcode.
 * Have you inserted shortcode like
    `[adinserter block="1" ignore="page-type"]`
 * Please check the shortcode – paste it here.
 * Are you sure the shortcodes are expaned where you put them?
    [https://adinserter.pro/documentation/manual-insertion#shortcodes-not-working](https://adinserter.pro/documentation/manual-insertion#shortcodes-not-working)
 *  Thread Starter [bigbigmonkeyman](https://wordpress.org/support/users/bigbigmonkeyman/)
 * (@bigbigmonkeyman)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12705732)
 * Many thanks for the ongoing replies – I have just used your exact code and the
   ads still display on the two expanded marker boxes on my test map here [https://www.wikifishingspots.com.au/test-map/](https://www.wikifishingspots.com.au/test-map/)
 * On all the other maps they do not display, such as this one – [https://www.wikifishingspots.com.au/NSW-fishing-map/](https://www.wikifishingspots.com.au/NSW-fishing-map/)
 * All the maps run-off the same CSV file which contains the marker texts and shortcodes.
   All the maps have the same settings.
 * The only thing different about the test map is that I created it recently compared
   with the other maps, and it has only two markers, whereas the other maps have
   many markers.
 * The problem seems unusual.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12705917)
 * No clue.
    Pretty unusual.

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

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

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

## Tags

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

 * 13 replies
 * 2 participants
 * Last reply from: [Spacetime](https://wordpress.org/support/users/spacetime/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-issue-29/#post-12705917)
 * Status: resolved