Now Smooth Slider is a part of SliderVilla, so you will get support for sure.
The shared URL is throwing 403 forbidden error, but the blank slides may come because of auto formatting happening over there. I would suggest to use [raw] tag around the shortcode (if using so). For example, the shortcode code recent posts Smooth Slider will be like,
[raw][smoothrecent][/raw]
In case the [raw] text is visible on front-end, then add the following piece of code in theme’s functions.php,
function my_formatter($content) {
$new_content = '';
$pattern_full = '{(\[raw\].*?\[/raw\])}is';
$pattern_contents = '{\[raw\](.*?)\[/raw\]}is';
$pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE);
foreach ($pieces as $piece) {
if (preg_match($pattern_contents, $piece, $matches)) {
$new_content .= $matches[1];
} else {
$new_content .= wptexturize(wpautop($piece));
}
}
return $new_content;
}
remove_filter('the_content', 'wpautop');
remove_filter('the_content', 'wptexturize');
add_filter('the_content', 'my_formatter', 99);
Above code should be inside PHP tag.
Let me know if it helps.
Regards
The code is not used as a short code, rather it is in loop.php:
<?php if ( function_exists( 'get_smooth_slider' ) ) { get_smooth_slider(); }
?>
I did try to implement your code, but I just see the shortcode in the page.
I did make some progress on this, but now instead of blank slides, it is not sliding. If I specify two posts, I get just 2 posts displayed on the page. However, if I specify 6 posts, I get all six posts listed and no sliding.
Thanks!
If the slider is not sliding, it means there are some JS error on the page. Here are few things which may cause the issue,
1. Please check if multiple jquery.js are loading on that page. If yes, load only the one from wp-includes folder.
2. If some other plugin or theme using JS with $ sign rather than jQuery. $ sign and jQuery may conflict and that may cause the issue. If found, replace $ sign with jQuery or use no.conflict() code.
If you can share the webpage URL where you have embedded Smooth Slider, I can provide a quick fix for the same. Waiting for your response.
Let me know if the Smooth Slider is working properly on live admin preview.
PS – We are going to release a new version of Smooth Slider in next few hours.