get_settings_for_display(); $abcbiz_number_of_posts = $this->get_settings('abcbiz_elementor_blog_list_post_number')['size']; $abcbiz_img_switch = $abcbiz_settings['abcbiz_elementor_blog_list_img_switch']; $abcbiz_date_switch = $abcbiz_settings['abcbiz_elementor_blog_list_date_switch']; $abcbiz_comment_switch = $abcbiz_settings['abcbiz_elementor_blog_list_comment_switch']; $abcbiz_excerpt_switch = $abcbiz_settings['abcbiz_elementor_blog_list_excerpt_switch']; $abcbiz_read_more_switch = $abcbiz_settings['abcbiz_elementor_blog_list_read_more_switch']; $abcbiz_pagination_switch = $abcbiz_settings['abcbiz_elementor_blog_list_pagination']; $abcbiz_list_read_more_text = $abcbiz_settings['abcbiz_elementor_blog_list_read_more_text']; $abcbiz_selected_category_list = $abcbiz_settings['abcbiz_elementor_blog_list_category']; $abcbiz_excerpt_length_list = $abcbiz_settings['abcbiz_elementor_blog_list_excerpt_length']; ?>
'post', 'paged' => $paged, 'posts_per_page' => $abcbiz_number_of_posts, ); // specific category query if ($abcbiz_selected_category_list && $abcbiz_selected_category_list !== 'all') { $args['cat'] = $abcbiz_selected_category_list; } $query = new WP_Query($args); if ($query->have_posts()) : while ($query->have_posts()) : $query->the_post(); ?>
str_replace($abcbig, '%#%', esc_url(get_pagenum_link($abcbig))), 'format' => '?paged=%#%', 'current' => max(1, $paged), 'total' => $query->max_num_pages, )); ?>