Theme-based filtering
-
Just spitballing, but as a suggested feature addition, how about the option of selective mobile plugin loading based on the active theme?
The use case scenario is very simple: theme switching solutions have some form of device detection. If a theme is already being reliably set it may not be necessary/desirable to base filtering on the device type. I’ve found a number of scenarios where two solutions will use different user agent-based detection methods and yield different results. This gets even more complicated when caching plugins are employed and use their own method of device detection.
The implementation would be fairly straightforward: use the existing list of mobile user agents or alternatively, a list of themes. If a certain theme is active, always use the mobile filtering.
Is this feasible?
The topic ‘Theme-based filtering’ is closed to new replies.