Changeset 1685686
- Timestamp:
- 06/26/2017 06:12:42 PM (9 years ago)
- File:
-
- 1 edited
-
bx-slider-by-trs/trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bx-slider-by-trs/trunk/readme.txt
r1685678 r1685686 32 32 10. much more 33 33 34 == Frequently Asked Questions == 35 36 = Does this plugin work with newest WP version and also older versions? = 37 Yes, this plugin works really fine with newest version as old version! 38 39 = I want to wrap slider output in a div element = 40 You can use 'trs_bx_slider_return_shortcode_html' filter like this way. 41 add_filter('trs_bx_slider_return_shortcode_html', 'test_func', 10, 3); 42 function test_func( $slider, $slider_id ){ 43 if (absint($slider_id) === 4){ 44 $html = '<div class="your-custom-class">'; 45 $html .= $slider; 46 $html .= '</div>'; 47 48 return $html; 49 } 50 51 // default 52 return $slider; 53 } 54 55 56 = I am getting error that Extension of provided images / video is not supported. Please read documentation. = 57 You are getting this error because you are using image or video that is supported by BX slider by TRS. 58 We support mp4, webm and ogg video type that is compatible with HTML video element. Same in case with images. 59 But you can extend and add your own extensions by using below filters. 60 'trs_bx_slider_add_image_types' 61 'trs_bx_slider_add_video_types' 62 63 Example: 64 add_filter('trs_bx_slider_add_image_types', 'test_func', 10); 65 function test_func( $image_types ){ 66 $image_types[] = 'dwg'; 67 $image_types[] = 'any-other-image-extension'; 68 69 70 return $image_types; 71 } 72 73 74 75 add_filter('trs_bx_slider_add_video_types', 'test_func', 10); 76 function test_func( $video_types ){ 77 $video_types[] = 'mp3'; 78 $video_types[] = 'avi'; 79 $video_types[] = 'any-other-video-extension'; 80 81 return $video_types; 82 } 83 84 34 85 == Changelog == 35 -v 2.1- 86 =v 2.1= 36 87 * jQuery easing feature is now enabled. 37 88 * BX Slider option for 'Manual show without infinite loop' is now added. … … 42 93 * limit WordPress Media to choose only one item at a time. 43 94 44 -v 1.1- 95 =v 1.1= 45 96 * Now you can sort slides with Drag and Drop feature. 46 97 * BX Slider has now adaptive height option. You can set it while creation of slider. 47 98 * Enhanced slider dashboard view little bit. 48 99 49 -v 1.0.3- 100 =v 1.0.3= 50 101 * Minor Bug Fixes 51 102 52 -v 1.0.2- 103 =v 1.0.2= 53 104 * Slider height meta option added 54 105 * Minor bug fixed - image disappeared when slider is second time update [FIXED] 55 106 * Add one more class for bootstrapping 56 107 57 -v 1.0.1- 108 =v 1.0.1= 58 109 * Dashboard GUI has been updated 59 110 * Some Labels has been updated 60 111 * Add Slider Short code on 'add slider' page 61 112 62 -v 1.0.0- 113 =v 1.0.0= 63 114 * Starting the jurney
Note: See TracChangeset
for help on using the changeset viewer.