There is wp_is_mobile()
function to conditionally display (or block) content for mobile users.
<?php if (!wp_is_mobile()) : ?>
<!-- Stuff to hide from mobile users -->
<?php endif; ?>
There is wp_is_mobile()
function to conditionally display (or block) content for mobile users.
<?php if (!wp_is_mobile()) : ?>
<!-- Stuff to hide from mobile users -->
<?php endif; ?>