Title: rev_slider shortcode within Mobble short code
Last modified: August 21, 2016

---

# rev_slider shortcode within Mobble short code

 *  Resolved [slypix](https://wordpress.org/support/users/samdip/)
 * (@samdip)
 * [12 years ago](https://wordpress.org/support/topic/rev_slider-shortcode-within-mobble-short-code/)
 * I tried using a rev_slider shortcode within mobble shortcode, as to only display
   the slider on the desktop, instead it was showing the slider shortcode as text.
 *  the last post about a shortcode within a mobble shortcode, was marked resolved,
   but it didn’t seem to be, I downloaded the latest version and was still having
   the same issue.
 * so I decided to post my solution, and hopefully will be implemented in the next
   version.
 * in the switch that processes the short code, I changed every case by adding a
   line of code to each one:
 * ex:
 *     ```
       case 'is_handheld';
       		if (is_handheld())
       			return $content;
       		break;
       ```
   
 * became:
 *     ```
       case 'is_handheld';
       		if (is_handheld())
       			$content = do_shortcode($content);
       			return $content;
       		break;
       ```
   
 * I want to thank the developer for writing this plugin, and hope he will add this
   to the next release.
 * thanks.
 * [https://wordpress.org/plugins/mobble-shortcodes/](https://wordpress.org/plugins/mobble-shortcodes/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Philip John](https://wordpress.org/support/users/philipjohn/)
 * (@philipjohn)
 * [12 years ago](https://wordpress.org/support/topic/rev_slider-shortcode-within-mobble-short-code/#post-4953731)
 * Hiya!
 * Thanks for reporting this – I should have thought to do this anyway really!
 * The latest update (v0.2.3) sorts this.
 * Shout with any issues.
 * Cheers,
    Phil

Viewing 1 replies (of 1 total)

The topic ‘rev_slider shortcode within Mobble short code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mobble-shortcodes_636060.svg)
 * [Mobble Shortcodes](https://wordpress.org/plugins/mobble-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mobble-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mobble-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/mobble-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mobble-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mobble-shortcodes/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Philip John](https://wordpress.org/support/users/philipjohn/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/rev_slider-shortcode-within-mobble-short-code/#post-4953731)
 * Status: resolved