• Resolved niksap

    (@niksap)


    Hi,
    I am testing your plugin so I created a test page on my site with two shortcodes, one for desktop and one for mobile. The first is ok on desktop, the second one shows both banners instead of just the mobile one. Here are the two shortcodes:
    [wp_bannerize_pro id=”banner-azzurro” /]
    [wp_bannerize_pro mobile=”1″ id=”banner-azzurro-mobile” /]
    Am I doing anything wrong ?
    Thanks
    Nicola

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author gfazioli

    (@gfazioli)

    @niksap Hey, could you try with

    [wp_bannerize_pro_mobile]
    [wp_bannerize_pro id="banner-azzurro-mobile"]
    [/wp_bannerize_pro_mobile]
    Plugin Author gfazioli

    (@gfazioli)

    @niksap sorry, I got. The code you wrote is correct. The first banner, having no settings, will always be displayed. The second will only be displayed on mobile. So, it is correct that you see two.

    If you want to display one banner for desktop and another for mobile, the correct code is as follows:

    [wp_bannerize_pro desktop="1" id=”banner-azzurro” /]
    [wp_bannerize_pro mobile=”1″ id=”banner-azzurro-mobile” /]

    Let me know if I understood correctly and if it works

    For more details have a look at https://bannerize.vercel.app/docs/DisplayBanners/shortcode

    • This reply was modified 2 months, 2 weeks ago by gfazioli.
    Thread Starter niksap

    (@niksap)

    Perfect thanks, I misread your docs, apologise.

    Reards

    Nicola

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.