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; 

Leave a Comment

Your email address will not be published. Required fields are marked *