_config["vcode"]; ?> _config["category_id"]; $category_type = $this->_config["category_type"]; $rplg_default_category_open = $this->_config["rplg_default_category_open"]; $all_selected_categories = $this->_config["all_selected_categories"]; $_is_rtl_enable = $this->_config["rplg_enable_rtl"]; $rplg_enable_post_count = $this->_config["rplg_enable_post_count"]; $rplg_hide_empty_category = $this->_config["rplg_hide_empty_category"]; $rplg_short_category_name_by = $this->_config["rplg_short_category_name_by"]; $rplg_hide_paging = $this->_config["rplg_hide_paging"]; $rplg_hide_post_image = $this->_config["rplg_hide_post_image"]; $rplg_hide_post_short_content = $this->_config["rplg_hide_post_short_content"]; $rplg_select_paging_type = $this->_config["rplg_select_paging_type"]; $rplg_hide_post_short_content_length = $this->_config["rplg_hide_post_short_content_length"]; $rplg_read_more_link = $this->_config["rplg_read_more_link"]; $rplg_order_category_ids = $this->_config["rplg_order_category_ids"]; $rplg_image_content_width = $this->_config["rplg_image_content_width"]; $rplg_image_height = $this->_config["rplg_image_height"]; $rplg_shorting_posts_by = $this->_config["rplg_shorting_posts_by"]; $rplg_post_ordering_type = $this->_config["rplg_post_ordering_type"]; $_rplg_image_height_class = ""; if( $rplg_short_category_name_by != "id" ) $rplg_order_category_ids = ""; $rplg_space_margin_between_posts = $this->_config["rplg_space_margin_between_posts"]; $rplg_posts_grid_alignment = $this->_config["rplg_posts_grid_alignment"]; $rplg_posts_loading_effect_on_pagination = $this->_config["rplg_posts_loading_effect_on_pagination"]; $rplg_mouse_hover_effect = $this->_config["rplg_mouse_hover_effect"]; $rplg_show_author_image_and_name = $this->_config["rplg_show_author_image_and_name"]; $template = $this->_config["template"]; $_u_agent = $_SERVER['HTTP_USER_AGENT']; $_m_browser = ''; if(strpos($_u_agent,'MSIE')>-1) $_m_browser = 'cls-ie-browser'; ?>
" class=" cls- "> _config["hide_widget_title"]=="no"){ ?>
;color:_config["header_text_color"] ); ?>" > _config["widget_title"] ); ?>
0 ) { $_image_width_item = intval($rplg_image_content_width); } ?>
_config["number_of_post_display"]; $is_default_category_with_hidden = 0; // Category and search text field start ==== $_category_res = array(); $_total_post_count = 0; $_category_res_n = array(); if( trim($category_type) != "0" ) { if( trim($all_selected_categories)=="0" || trim($all_selected_categories) == "" ) $_category_res = $this->getCategories("",$rplg_order_category_ids); else $_category_res = $this->getCategories($all_selected_categories,$rplg_order_category_ids); if( count( $_category_res ) > 0 ) { foreach( $_category_res as $_category ) { $_total_post_count = $_total_post_count + $_category->count; } } } ?> getSqlResult( $all_selected_categories, $post_search_text, 0, 0, 1, $is_default_category_with_hidden, 1 ); $__current_term_count = $__current_term_count[0]->total_val; $_total_posts = $__current_term_count; $post_list = $this->getSqlResult( $all_selected_categories, $post_search_text, 0, $_limit_end ); if( count($post_list) > 0 ) { foreach ( $post_list as $_post ) { $image = $this->getPostImage( $_post->post_image, $rplg_image_content_width, $this->_config["rplg_image_height"] ); $_author_name = esc_html($_post->display_name); $_author_image = get_avatar($_post->post_author,25); ?>
" class='ikh-post-item-box pid-post_id ); ?>'>
_config["hide_post_title"] ) =='no'){ ?> " > post_title ); ?> _config["rplg_hide_posted_date"] ) =='no'){ ?>
post_content ) ) > intval( $rplg_hide_post_short_content_length ) ) echo substr( strip_tags( $_post->post_content ), 0, $rplg_hide_post_short_content_length ).".."; else echo trim( strip_tags( $_post->post_content ) ); ?>
_config["rplg_hide_comment_count"] ) =='no'){ ?>
post_id)); if($_total_comments["total_comments"] > 0) { echo $_total_comments["total_comments"]; ?> 1)?__( 'Comments', 'richpostslistandgrid' ):__( 'Comment', 'richpostslistandgrid' )); } ?>
_config["rplg_show_author_image_and_name"] ) =='yes') { ?>
sanitize_text_field( $this->_config["number_of_post_display"] ) ) { ?>
displayPagination( 0, $_total_posts, $all_selected_categories, $_limit_start, $_limit_end, $this->_config["vcode"], 2 ); ?>
displayPagination( 0, $_total_posts, $all_selected_categories, $_limit_start, $_limit_end, $this->_config["vcode"], 1 ); ?>