1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Want to not show ads by PHP wordpress

Discussion in 'PHP' started by idzeshan, Apr 14, 2015.

  1. #1
    Hello i have a site on wordpress.
    when site load on mobile ads also show on mobile i want to know that how i remove them only for mobile user not for desktop.
    ads like "layer ads" 800*400
     
    idzeshan, Apr 14, 2015 IP
  2. HowDoYou

    HowDoYou Well-Known Member

    Messages:
    443
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    130
    #2
    There are several ways to hide elements on your website based on the device viewing the website.
    If the bootstrap framework is included in your template, you can use their hide css classes.
    JavaScript can be used to set visibility based on screen size, php can be used to not display elements based on the browser's user-agent, and there are many, many other ways.
     
    HowDoYou, Apr 16, 2015 IP