• I’m using GCB to serve ads, adsense and other types, and it’s great.
    I’d like to serve different ads to mobile users.

    How could I do it?
    Is there a way to do this inside a content block?
    Something like
    if mobile
    –>display code A
    else
    –>display code B

    or maybe out of the content boxes, in php
    if(mobile){
    echo gcb(1)}
    else {
    echo gcb(2)}

    Any solution is highly appreciated, even if it means switching to a different plugin (but I hope not as I like GCB)

    https://www.ads-software.com/plugins/global-content-blocks/

  • The topic ‘global content blocks > detect mobile users’ is closed to new replies.