$cat1, 'post_type' => 'post', 'posts_per_page' => 3, 'post_status' => 'publish', 'ignore_sticky_posts' => true ); $arther_featured_query = new WP_Query($arther_cat_post_args); if ($arther_featured_query->have_posts()) : while ($arther_featured_query->have_posts()) : $arther_featured_query->the_post(); ?>
" . __('Load More', 'arther') . "
"; } } else { the_posts_navigation(); } } } add_action('arther_action_navigation', 'arther_posts_navigation', 10); if (!function_exists('arther_related_post')) : /** * Display related posts from same category * * @param int $post_id * @return void * * @since 1.0.0 * */ function arther_related_post($post_id) { global $arther_theme_options; if ($arther_theme_options['arther-single-page-related-posts'] == 0) { return; } $categories = get_the_category($post_id); if ($categories) { $category_ids = array(); $category = get_category($category_ids); $categories = get_the_category($post_id); foreach ($categories as $category) { $category_ids[] = $category->term_id; } $count = $category->category_count; if ($count > 1) { ?>

$category_ids, 'post__not_in' => array($post_id), 'post_type' => 'post', 'posts_per_page' => 2, 'post_status' => 'publish', 'ignore_sticky_posts' => true ); $arther_featured_query = new WP_Query($arther_cat_post_args); ?>
have_posts()) : while ($arther_featured_query->have_posts()) : $arther_featured_query->the_post(); ?>
'post', 'ignore_sticky_posts' => true, 'posts_per_page' => 6, 'cat' => $featured_cat ); $query = new WP_Query($query_args); if ($query->have_posts()) : ?>
have_posts()) : $query->the_post(); ?>
'div', 'show_browse' => false ); global $arther_theme_options; $arther_you_are_here_text = esc_html($arther_theme_options['arther-breadcrumb-text']); if (!empty($arther_you_are_here_text)) { $arther_you_are_here_text = "" . $arther_you_are_here_text . ""; } echo ""; } endif;