Skip to content

Brighty Box

Ideas for your online presence

  • Home
  • Gallery
  • Liga

Month: January 2019

WP Mobile Detect and PHP Snippet

Posted on January 4, 2019 by adminBrightyWp

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; 
Posted in PHP, WordpressLeave a Comment on WP Mobile Detect and PHP Snippet

Recent Posts

  • WordPress Ajax Post Filter
  • Iframe inside bootstrap
  • Link to open bootstrap modal
  • Hiding Sub Field
  • Show code only for first query

Recent Comments

    Archives

    • November 2020
    • August 2020
    • July 2020
    • June 2020
    • March 2020
    • February 2019
    • January 2019
    • October 2018
    • April 2018
    • March 2018
    • February 2018

    Categories

    • CSS
    • jQuery
    • PHP
    • Plugins
    • Softwares / Apps
    • Wordpress

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Proudly powered by WordPress | Theme: ioboot by ioTheme.