number ‘6’ changed to ’50’ in code
Hi there,
Could you please tell me how you fixed this issue? I currently have 15 items in the same category but only 6 are showing…
Thanks for your help!
Greetings,
Henk
wp-admin > plugins > Carousel Ultimate > option edit
than you should find and replace “6” to larger number e.g. “50” in (line “‘number’ => ‘6’,”) at
“carousel/carousel-shortcodes.php”
/*———————————————————————-
Carousel custom post shortcode
———————————————————————-*/
function tp_carousel_main_custom_items_shortcode($atts){
extract( shortcode_atts( array(
‘category’ => ‘-1’,
‘items’ => ‘4’,
‘number’ => ‘6’,
‘order_by’ => ‘date’,
‘order’ => ‘DESC’,
‘items_tablet’ => ‘2’,
‘items_desktop’ => ‘3’,
‘itemsdesktop_small’ => ‘3’,
‘img_height’ => ‘190’,
‘display_caption’ => ‘none’,
), $atts) );
$townlrndn = rand(1,1000);
global $post;
yoursite.com-and-path/wp-admin/plugin-editor.php?file=carousel/carousel-shortcodes.php
or edit in cpanel directly – edit file yoursite.com-and-path/wp-content/plugins/carousel/carousel-shortcodes.php
and you should change manually this number after every update of the plugin