Hi
Thank you for noticing us, let us see this issue. it could be maybe you have no data, But we will confirm you as soon as possible
Best regards
Hi
Im giving you solution, we are updating our core too.
Go to line number 198 in file root/wp-content\plugins\wp-megamenu\addons\wpmm-gridpost\wpmm-gridpost.php
Remove this condition
if( ! empty($instance['show_nav']) && $instance['show_nav'] == 'on' ){
$output .= '<span data-showcat="'.$instance['show_category'].'" data-type="post" data-category="'.$data_category.'" data-current="1" ata-oderby="'.$instance["order_by"].'" data-oderby="'.$instance["order_by"].'" data-column="'.$no_column.'" data-total="'.$data->max_num_pages.'" class="dashicons dashicons-arrow-left-alt2 wpmm-left wpmm-gridcontrol-left disablebtn"></span>';
$var = ($data->max_num_pages == 1)? 'disablebtn' : '';
$output .= '<span data-showcat="'.$instance['show_category'].'" data-type="post" data-category="'.$data_category.'" data-current="1" data-oderby="'.$instance["order_by"].'" data-column="'.$no_column.'" data-total="'.$data->max_num_pages.'" class="dashicons dashicons-arrow-right-alt2 wpmm-right wpmm-gridcontrol-right '.$var.'"></span>';
}
Add below condition
if( ! empty($instance['show_nav']) && $instance['show_nav'] == 'on' ){
$data_category = '';
if ( ! empty($instance['category'])){
$data_category = implode(',',$instance['category']);
}
$output .= '<span data-showcat="'.$instance['show_category'].'" data-type="post" data-category="'.$data_category.'" data-current="1" ata-oderby="'.$instance["order_by"].'" data-oderby="'.$instance["order_by"].'" data-column="'.$no_column.'" data-total="'.$data->max_num_pages.'" class="dashicons dashicons-arrow-left-alt2 wpmm-left wpmm-gridcontrol-left disablebtn"></span>';
$var = ($data->max_num_pages == 1)? 'disablebtn' : '';
$output .= '<span data-showcat="'.$instance['show_category'].'" data-type="post" data-category="'.$data_category.'" data-current="1" data-oderby="'.$instance["order_by"].'" data-column="'.$no_column.'" data-total="'.$data->max_num_pages.'" class="dashicons dashicons-arrow-right-alt2 wpmm-right wpmm-gridcontrol-right '.$var.'"></span>';
}
Hope your issue will be solve, there because of you have not selected any category here, but we’ve fixed now
Thank you for noticing this issue, it will be great if you place a 5star review
Best regards
Thread Starter
uipro
(@uipro)
Thank you very much @mhshohel for this quick solution.
Sure, will give this plugin a 5 stars review 🙂