Support » Plugin: Ad Inserter - Ad Manager & AdSense Ads » Not working in Widgets? Short Code or Widget.

  • Resolved michaelquinn

    (@michaelquinn)


    Seem to be having an issue with getting Ads to show in Widgets this morning – been working fine for weeks since I installed the plugin (great by the way – well done).

    All I am seeing now is: [adinserter block=”15″] instead of the Ad.

    Normally when there is a problem – like I haven’t enabled the Ad for a Widget or Page, I get a blank nothing. This is actually showing the short code as text.

    Same Ad short codes work fine if I put them in regular Page content. Widgets don’t work in either Sidebar or Footer.

    All that I can think of that I have done different this morning was to try your own Ad Inserter widget just to see what it did (hadn’t really noticed it before, I was just using a Text widget for the Short Code. I removed it pretty much after I added it. But then 10 mins later when I was looking at a page I noticed the problem.

    I’ve tried using your Ad Inserter widget to show the Ad – doesn’t work either. Won’t show any of my enabled Ads, or the Dummy Widget. The only one that shows is the Dubugger code. Would you like me to add that?

    Unfortunately the site is “hiding” behind a “coming soon” banner as it’s still in development. But if it’s crucial for you to have a look I can unlock it temporarily for you.

    Thanks in advance for the help.

    • This topic was modified 4 years, 3 months ago by michaelquinn.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter michaelquinn

    (@michaelquinn)

    Ad Inserter 2.1.11

    GENERATED (WP time): 2017-08-01 11:18:45
    GENERATED (Server time): 2017-08-01 01:18:45
    PLUGIN CODE PROCESSING: 0.00 ms
    USER CODE PROCESSING: 0.00 ms
    TOTAL PROCESSING TIME: 0.00 ms
    SETTINGS: 2.1.11
    SETTINGS TIMESTAMP: 2017-08-01 09:56:10
    MULTISITE: NO
    USER: LOGGED-IN ADMINISTRATOR
    USER ROLES: administrator
    MIN.USER FOR EXCEPTIONS: administrator
    PAGE TYPE: STATIC PAGE
    POST TYPE: page
    CATEGORIES:
    TAGS:
    TAXONOMIES:
    ID: 567
    URL: /services/banks-atm/
    REFERER: mq5150.com.au (http://mq5150.com.au/wp-admin/post.php?post=567&action=edit)
    CLIENT-SIDE DETECTION: USED
    VIEWPORT 1: Desktop min width 980 px
    VIEWPORT 2: Tablet min width 768 px
    VIEWPORT 3: Phone min width 0 px
    SERVER-SIDE DETECTION: USED
    SERVER-SIDE DEVICE: DESKTOP
    BLOCK CLASS NAME: code-block
    DYNAMIC BLOCKS: Server-side
    PARAGRAPH COUNTING: Standard
    PLUGIN PRIORITY: 99999
    HEADER CODE: DISABLED
    FOOTER CODE: DISABLED

    BLOCK SETTINGS Po Pa Hp Cp Ap Sp Aj Fe 404 Wi Sh PHP
    1 City 300×250 . o . . . . o . . x x . [Disabled][Default][enabled_on_which_pages: Only on selected]
    2 City 320×100 . o o . . . o . . . x . [Disabled][Default][enabled_on_which_pages: Only on selected][enabled_on_which_posts: Only on selected]
    3 Accommodation 300×250 . o . . . . o . . . x . [Disabled][Default][enabled_on_which_pages: Only on selected]
    4 Accommodation 320×100 . o . . . . o . . . x . [Disabled][Default][enabled_on_which_pages: Only on selected]
    5 Food 300×250 . o . . . . o . . . x . [Disabled][Default][enabled_on_which_pages: Only on selected]
    6 Food 320×100 . o . . . . o . . . x . [Disabled][Default][enabled_on_which_pages: Only on selected]
    7 Recreation 300×250 . o . . . . o . . . x . [Disabled][Default][enabled_on_which_pages: Only on selected]
    8 Recreation 320×100 . o . . . . o . . . x . [Disabled][Default][enabled_on_which_pages: Only on selected]
    9 Retail 300×250 . o . . . . o . . . x . [Disabled][Default][enabled_on_which_pages: Only on selected]
    10 Retail 320×100 . o . . . . o . . . x . [Disabled][Default][enabled_on_which_pages: Only on selected]
    11 Wine 300×250 . o . . . . o . . . x . [Disabled][Default][enabled_on_which_pages: Only on selected]
    12 Wine 320×100 . o . . . . o . . . x . [Disabled][Default][enabled_on_which_pages: Only on selected]
    13 Link Horizontal Respo . o . . . . o . . . x . [Disabled][Default]
    14 Link Vertical 200×90 . o . . . . o . . x x . [Disabled][Default][enabled_on_which_pages: Only on selected]
    15 Sidebar 250 . o . . . . o . . x x . [Disabled][Default][enabled_on_which_pages: Only on selected]
    16 Sidebar 160×600 . o . . . . o . . x x . [Disabled][Default][detect_server_side: 1][enabled_on_which_pages: Only on selected][detect_client_side: 1][detect_viewport_1: 1]

    EXCEPTIONS FOR BLOCKS ID TYPE TITLE URL

    TOTAL BLOCKS

    BLOCKS FOR THIS PAGE TYPE

    Plugin Author Spacetime

    (@spacetime)

    Since you see shortcode instead of the ad (assuming Ad Inserter plugin is enabled ) it looks like your widget positions are not processing shortcodes.

    Plugin Author Spacetime

    (@spacetime)

    Are you still having problem?

    If yes then enable remote debugging and post web address:
    https://wordpress.org/support/topic/please-read-how-to-ask-for-help-2/

    Thread Starter michaelquinn

    (@michaelquinn)

    Sorry I missed your initial reply.

    I have set up a widget and enabled debugging for you at:

    http://mq5150.com.au/services/banks-atm/

    Thanks

    Plugin Author Spacetime

    (@spacetime)

    Strange.

    Please contact me.

    Thread Starter michaelquinn

    (@michaelquinn)

    Looks like it was a problem with the other plugins. Contacted other developer and they updated their plugin – all fixed.

    Thanks for the excellent support.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not working in Widgets? Short Code or Widget.’ is closed to new replies.