Title: rizwan97's Replies | WordPress.org

---

# rizwan97

  [  ](https://wordpress.org/support/users/rizwan97/)

 *   [Profile](https://wordpress.org/support/users/rizwan97/)
 *   [Topics Started](https://wordpress.org/support/users/rizwan97/topics/)
 *   [Replies Created](https://wordpress.org/support/users/rizwan97/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/rizwan97/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/rizwan97/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/rizwan97/engagements/)
 *   [Favorites](https://wordpress.org/support/users/rizwan97/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elementor Website Builder - more than just a page builder] The issue with the Swiper slider after updating to the latest version.](https://wordpress.org/support/topic/the-issue-with-the-swiper-slider-after-updating-to-the-latest-version/)
 *  [rizwan97](https://wordpress.org/support/users/rizwan97/)
 * (@rizwan97)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/the-issue-with-the-swiper-slider-after-updating-to-the-latest-version/#post-18277932)
 * Hi Matthew, I’m here to help you as an independent developer.
   By default, in 
   the latest version of Elementor, the Swiper enqueue script/style is disabled.
   To enable it in our custom-created widgets, we need to add the following code
   in the custom widget class:
 *     ```wp-block-code
       public function get_style_depends(): array {       return [ 'swiper', 'e-swiper' ];}
       ```
   
 * Example of custom elementor widget:
 *     ```wp-block-code
       class Testimonials_Swiper_Widget extends \Elementor\Widget_Base {     public function get_style_depends(): array {	return [ 'swiper', 'e-swiper' ];    }        public function get_name() {        return 'testimonials-slider';    }    public function get_title() {        return esc_html__( 'Testimonials Slider', '' );    }}
       ```
   

Viewing 1 replies (of 1 total)