No that isn’t possible because the plugin only checks the URL-Name to decide if a rule has to be activated.
But I will check how much work it would be to implemnt such an option.
Kind regards
Such an option is rare but I think a plugin called Plugin Organizer does.
Which method do you use to detect if a mobile device is on your page?
I think it’s better to use this condition because it could be possible that the theme switch is called after “Plugin Logic” checks the rules.
I use a plugin called Device Theme Switcher but I recently found out W3 Total Cache can do it.
Ok I’ve uploaded a development version (1.0.5) which is able detect the different devices. You can download it here: https://downloads.wordpress.org/plugin/plugin-logic.zip
Put the folder “plugin-logic” to your Wordppress plugin folder (normally /wp-content/plugins/). Then you should be able to activate the Plugin in your Dashboard.
To activate the rules only for mobile devices add after a rule [mobile] or if you want to distinguish between tablet and handheld you can use also [tablet] or [handheld].
Example rules:
http://www.example-site/page=1/ [mobile],
exampleWord1,
exampleWord2 [tablet],
http://www.example-site/images,
http://www.example-site/page=3 [handheld]
Perhaps it would be a better solution to have a plugin which do the theme switch and the plugin rules all in one, so there is only one device check. But I don’t think the device check has a great effect on the page load.
Kind regards
you are the man! I will try it out. Thanks
Will this be released as a perm feature?
Plugin Organizer is nice. I used it but has a few css issues I dont want to get into but I would like your software to assist.
If time permits I will try to release a new version with this feature next week.
Kind regards
Simon