=== BX Slider by TRS === Contributors: alishanvr Tags: bx slider, wordpress slider, slider, logo slider, ticker slider, full width slider, news slider, carousel slider, carousel Donate link: # Requires at least: 5.0 Tested up to: 6.1 Stable tag: stable License: GPL2.0+ License URI: http://www.gnu.org/licenses/gpl-2.0.txt BX Slider by TRS is multipurpose slider with horizontal and vertical mode. This provides multiple features like Full width slider, Logo Slider and Ticker Slider etc. This is Wonderful BX slider for WordPress. == Description == WordPress Slider plugin based on BX Slider. This plugin has multiple features like Full Width Slider, Logo Slider and Ticker Slider etc. This plugin provides wide range of hooks that any user can get result as his/her own requirement without touching core files. Please note that this plugin will always free and all of its future releases and updates will always be free. But we accept donations for future work. == Installation == Upload the plugin to your blog, Activate it and have fun. == Special Features ==
trs_bx_slider_return_shortcode_html filter like this way.
add_filter('trs_bx_slider_return_shortcode_html', 'test_func', 10, 3);
function test_func( $slider, $slider_id ){
if (absint($slider_id) === 4){
$html = '';
$html .= $slider;
$html .= '';
return $html;
}
// default
return $slider;
}
= I am getting error that Extension of provided images / video is not supported. Please read documentation. =
You are getting this error because you are using image or video that is supported by BX slider by TRS.
We support mp4, webm and ogg video type that is compatible with HTML video element. Same in case with images.
But you can extend and add your own extensions by using below filters.
'trs_bx_slider_add_image_types'
'trs_bx_slider_add_video_types'
Example:
Add More Images Extensions
add_filter('trs_bx_slider_add_image_types', 'test_func', 10);
function test_func( $image_types ){
$image_types[] = 'dwg';
$image_types[] = 'any-other-image-extension';
return $image_types;
}
Add More Videos Extensions
add_filter('trs_bx_slider_add_video_types', 'test_func', 10);
function test_func( $video_types ){
$video_types[] = 'mp3';
$video_types[] = 'avi';
$video_types[] = 'any-other-video-extension';
return $video_types;
}
== Changelog ==
v 2.1.1