Title: Bug when using shortcodes (fix)
Last modified: August 21, 2016

---

# Bug when using shortcodes (fix)

 *  [dteunkens](https://wordpress.org/support/users/dteunkens/)
 * (@dteunkens)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/bug-when-using-shortcodes-fix/)
 * When using shortcodes for responsive slider, the slideshow is output _before_
   the tag where it should be placed.
 * This is because in method ‘**responsive_shortcode**‘, the result is output immediately(`
   echo $result;`), while it actually should have returned the result (`return $
   result;`)
 * So, change line 142 of responsive.slider.php, from
    `echo $result;` to `return
   $result;`
 * [https://wordpress.org/plugins/responsive-slider/](https://wordpress.org/plugins/responsive-slider/)

The topic ‘Bug when using shortcodes (fix)’ is closed to new replies.

 * ![](https://ps.w.org/responsive-slider/assets/icon-256x256.png?rev=1429699)
 * [Responsive Slider](https://wordpress.org/plugins/responsive-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-slider/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [dteunkens](https://wordpress.org/support/users/dteunkens/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/bug-when-using-shortcodes-fix/)
 * Status: not resolved