Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author simon_h

    (@simon_h)

    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

    Thread Starter anefarious1

    (@anefarious1)

    Such an option is rare but I think a plugin called Plugin Organizer does.

    Plugin Author simon_h

    (@simon_h)

    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.

    Thread Starter anefarious1

    (@anefarious1)

    I use a plugin called Device Theme Switcher but I recently found out W3 Total Cache can do it.

    Plugin Author simon_h

    (@simon_h)

    Ok I’ve uploaded a development version (1.0.5) which is able detect the different devices. You can download it here: https://downloads.www.ads-software.com/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:

    https://www.example-site/page=1/ [mobile],
    exampleWord1,
    exampleWord2 [tablet],
    https://www.example-site/images,
    https://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

    Thread Starter anefarious1

    (@anefarious1)

    you are the man! I will try it out. Thanks

    BGRATED

    (@bgrated)

    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.

    Plugin Author simon_h

    (@simon_h)

    If time permits I will try to release a new version with this feature next week.

    Kind regards
    Simon

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Does it Work for Theme Specific Pages?’ is closed to new replies.