Jump to content

Activating theme based on some condition / device or url


Saurabh Jain

Recommended Posts

Posted

What I want is to have a theme for a mobile app  - I will call the responsive IPS community in mobile app

-------------------

Requirement is not to show ads advertisements /  in this theme

--------------

There are three way to acess site

1 Desktop laptop version

2 smart phones . Mobile browser such as chrome  by typing url

3 Calling the webpage in android and Iphone app

--------------

Ads are not allowed as per the google adsense policy so I do not want to show adsense code in third case

-------

What can be the various methods for same

Idea 1 - making a special theme  which does not have adsense element and getting it activated only when the site is called from android / iphne app

but when user switches to desktop - he should see another theme

Idea 2  placing ads only in sidebar  and disabling sidebar in mobile - then no ads ill be seen in 2 and 3 ....smart phone  and apps....which means loos of ads in smart phone browsers such as chome...

Idea 3 -  I want to hear from you guys what can be done... How can be done....

 

 

idea 4 was -   calling the website with specific url parameter and storing a variable in cookie...

If variable value = 1    do not show ad else show ad ...

It did not work well... and took time in loading as well.... couple of times ads were showed later it stopped... Not a full proof solution 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...