[pmwiki-users] testing if mobile

Petko Yotov 5ko at 5ko.fr
Mon Jun 17 03:58:56 PDT 2019


DetectMobileFree has an example of a conditional:

   https://www.pmwiki.org/wiki/Cookbook/DetectMobileFree

like (:if {$isMobile}:) and (:if !{$isMobile}:)

Petko

-- 
If you upgrade :  http://www.pmwiki.org/Upgrades


On 17/06/2019 11:23, Simon wrote:
> I'd like to be able to say
> (:if mobile:)
> 
> or
> (if !mobile:)
> 
> 
> any recommendation or recipes to do this




More information about the pmwiki-users mailing list