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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘rev_slider shortcode within Mobble short code’ is closed to new replies.