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('[wbcr_php_snippet id=615]'));
	else:
	echo(do_shortcode('[wbcr_php_snippet id=378]'));
endif; 

Leave a Reply

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