diff --git a/functions.php b/functions.php index c0b0153..84bed8c 100644 --- a/functions.php +++ b/functions.php @@ -452,6 +452,7 @@ function ajax_clas_search_archive() { //Retieves posts of a specific category or $args = array( 's' => $search, 'fields' => 'ids', + 'category_name' => 'archive' ); $archiveQuery = new WP_Query( $args ); $archivePosts = $archiveQuery->get_posts(); diff --git a/page-news-archive.php b/page-news-archive.php index 4729849..bcd682d 100644 --- a/page-news-archive.php +++ b/page-news-archive.php @@ -87,6 +87,7 @@ get_header(); ?>

News Stories