view port
-
Hi
It will be great to have an option to select or mod viewport
What if i want Ipad content different than smaller device.Let meknow if it s possible to make that update
-
Hi Frederic
this will be one of the features of the PRO version.
In any case, it’s not a matter of viewport but of User-Agent SCFM does nothing on the client-side. It detects the device by the User Agent.
If you add this line of code in your wp-config.php before the comment /* That’s all, stop editing! Happy blogging. */:
define( ‘SCFM_EXCLUDE_TABLETS’,true );
then tablets will be considered like desktops. But you will not be able to assign “tablet-specific content”, only consider them as desktop instead of mobile.
In the PRO version, which honestly I have no idea when will be ready, you will be able to assign specific content only for tablets. But you will have smartphones, tablets, and desktops, nothing else.
great! good job
let me know if you need beta tester?what other features on pro version are scheduling?
that rule is already active with free version?
define( ‘SCFM_EXCLUDE_TABLETS’,true );or it will be later on with paid version?
define( ‘SCFM_EXCLUDE_TABLETS’,true ); works also in the free version. With the PRO version, you will not need it anymore because you can assign specific content for tablets.
The PRO version will have these additional features:
– Specific content for tablets
– Mobile version for specific menu items or the entire navigation
– Shortcodes for mobile or desktop specific content
– Specific theme for mobile (useful with child themes)
– Option to deactivate the Google fonts on mobile
– Support for Custom post typesThank you very much for offering you as a beta tester. At the moment I suspended the development of the PRO version because I haven’t the time. The current PRO version is not stable and I need first to fix some bugs before you can call it a beta version, but I will surely take it into account for the future.
great!
i am guessing this rule must be conflicting with my cache plugin
define( ‘SCFM_EXCLUDE_TABLETS’,true );Be also sure the cache of your tablet is cleared.
Of coourse, you should set your caching plugin to distinguish between smartphones and tablets. You will need to add the right user agents in the caching plugin settings.
let me know if that list is correct
iPad
NexusTablet
SamsungTablet
HPTablet
AsusTablet
BlackBerryTablet
HTCtablet
MotorolaTablet
AcerTablet
ToshibaTablet
LGTablet
FujitsuTablet
LenovoTablet
DellTablet
SonyTablet
PhilipsTablet
HuaweiTablet`Are you planing anything for woocommerce product page?
even with wp-rocket i was not able to set it up
I did open a ticket with themDo you have the user-agent setting for wp-rocket?
nevermind
they did create an add on for tablet cache
https://docs.wp-rocket.me/article/140-wrong-display-mobile-tablet-desktopi did not work
did open ticket with themyour list of user agents is ok, but you should add also these ones:
‘Tablet’
‘Playbook’
‘Mobi|Opera Mini’The most important is the first one ‘Tablet’.
The User Agents are not “for WPRocket” or any other plugins. They are related to the devices. So, you should use your list plus the three ones listed in my comment.
About the WooCommerce product pages, it will be supported by the PRO version, because the PRO version will support custom post types, and the products are custom post types.
The topic ‘view port’ is closed to new replies.