Title: Problem when using the plugin in tab section
Last modified: November 27, 2019

---

# Problem when using the plugin in tab section

 *  Resolved [rtodinova](https://wordpress.org/support/users/rtodinova/)
 * (@rtodinova)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/problem-when-using-the-plugin-in-tab-section/)
 * I am using different shortcodes in order to show different post carousels in 
   different tabs filtered by category. But when I switch to different tab section,
   the width of the carousel is 0 and it is calculated very slow.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-when-using-the-plugin-in-tab-section%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Rafik](https://wordpress.org/support/users/rafikwp/)
 * (@rafikwp)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/problem-when-using-the-plugin-in-tab-section/#post-12184228)
 * Hello,
 * actually, slider is initialized on page load, you need to reinitialize on the
   tab click, it will not work with the tab you need to do customize as per your
   need.
 * Thanks
 *  Thread Starter [rtodinova](https://wordpress.org/support/users/rtodinova/)
 * (@rtodinova)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/problem-when-using-the-plugin-in-tab-section/#post-12184864)
 * Thank you very much. Where can I found the function that initializes the carousel?
 *  [Rafik](https://wordpress.org/support/users/rafikwp/)
 * (@rafikwp)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/problem-when-using-the-plugin-in-tab-section/#post-12187679)
 * Hello,
 * You can find initialization code in the folowing file.
    `wp-responsive-recent-
   post-slider/assets/js/wppsac-public.js` Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem when using the plugin in tab section’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-responsive-recent-post-slider_9c9a9b.
   svg)
 * [WP Responsive Recent Post Slider/Carousel](https://wordpress.org/plugins/wp-responsive-recent-post-slider/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-responsive-recent-post-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-responsive-recent-post-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-responsive-recent-post-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-responsive-recent-post-slider/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Rafik](https://wordpress.org/support/users/rafikwp/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/problem-when-using-the-plugin-in-tab-section/#post-12187679)
 * Status: resolved