When developing responsive WordPress themes I use a plugin called Mobble. It provides simple template tags to determine what device the site is being viewed on and change the layout accordingly.
On some sites, I’ve created shortcodes to allow me to use some of those functions within the content itself but after doing some work with Hampshire County Council which required something similar I decided to break out a new plugin.
You can download Mobble Shortcodes now from WordPress.org. Make sure you install Mobble first, though!
Leave a Reply