Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

[FIXED] Pics are not display in a ROW

$
0
0

Replies: 0

Hello everyone!
As it was shown here, there may be a situation where pictures are not shown in a row, but are shown in a column.
This situation is possible when you’re using something like
<?php echo do_shortcode('[carousel_slide id='.$carousel_id.']'); ?>
in your template code AND not paste the shortcode in the post body.
As a result, required .js scripts are not loading and the carousel fails.

To fix it you’re have to change the private function should_load_scripts
(/plugins/carousel-slider/includes/class-carousel-slider-script.php) to this:

return apply_filters( 'carousel_slider_load_scripts', true );

Cheers!


Viewing all articles
Browse latest Browse all 59525

Trending Articles