Skip to content

Commit

Permalink
Fix bug where stars would only load if logged in
Browse files Browse the repository at this point in the history
  • Loading branch information
KiOui committed Mar 17, 2024
1 parent b40ece0 commit 7c1739a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public function get_id(): string {
* Include all styles and scripts required for this slider to work.
*/
public function include_styles_and_scripts() {
wp_enqueue_style( 'dashicons' );
wp_enqueue_style( 'widcol-testimonial-shortcode-page', WIDCOL_PLUGIN_URI . 'assets/testimonials/css/widcol-testimonial-shortcode-page.css', array(), '1.0' );
if ( $this->theme_color ) {
wp_add_inline_style(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ public function get_slides_per_view(): string {
public function include_styles_and_scripts() {
wp_enqueue_style( 'swiper-css', 'https://unpkg.com/swiper/swiper-bundle.min.css', array(), '1.0' );
wp_enqueue_script( 'swiper-js', 'https://unpkg.com/swiper/swiper-bundle.min.js', array(), '1.0' );
wp_enqueue_style( 'dashicons' );
wp_enqueue_script( 'swiper-activation', WIDCOL_PLUGIN_URI . 'assets/testimonials/js/swiper-activation.js', array( 'swiper-js' ), '1.0', true );
wp_enqueue_style( 'swiper-overrides', WIDCOL_PLUGIN_URI . 'assets/testimonials/css/swiper-overrides.css', array(), '1.0' );
if ( $this->theme_color ) {
Expand Down

0 comments on commit 7c1739a

Please sign in to comment.