Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paths for Slick Carousel are incorrect #525

Closed
vegasgeek opened this issue May 19, 2020 · 0 comments · Fixed by #526
Closed

Paths for Slick Carousel are incorrect #525

vegasgeek opened this issue May 19, 2020 · 0 comments · Fixed by #526

Comments

@vegasgeek
Copy link
Contributor

In scripts.php, there are calls for wp_register_style and wp_register_script for slick-carousel. The output folder path is incorrect.

Currently they are:

wp_register_style( 'slick-carousel', get_template_directory_uri() . '/dist/slick/slick.css', null, '1.8.1' );
wp_register_script( 'slick-carousel', get_template_directory_uri() . '/dist/slick/slick' . $suffix . '.js', array( 'jquery' ), '1.8.1', true );

But should be:

wp_register_style( 'slick-carousel', get_template_directory_uri() . '/dist/slick-carousel/slick/slick.css', null, '1.8.1' );
wp_register_script( 'slick-carousel', get_template_directory_uri() . '/dist/slick-carousel/slick/slick' . $suffix . '.js', array( 'jquery' ), '1.8.1', true );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant