without plugin!
Category: PHP
WP Mobile Detect and PHP Snippet
We wouldn’t load mobile and desktop content twice.
WP Mobile Detect and Insert PHP plugins to achieve this.
if(wpmd_is_phone()): echo(do_shortcode('')); else: echo(do_shortcode('')); endif;