From 0f509e604163f2df7860bb44aea29f0290c5ac6e Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 3 Jun 2015 16:25:40 -0400 Subject: [PATCH] Change wording blog->recipes, search should include recipes too now. --- functions.php | 3 ++- home.php | 6 +++--- page.php | 2 +- search.php | 6 +++--- single.php | 6 +++--- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/functions.php b/functions.php index 499ba36..9549da3 100644 --- a/functions.php +++ b/functions.php @@ -83,7 +83,8 @@ function SearchFilter($query) { if(isset($_GET['searchType'])) { $searchType = $_GET['searchType']; if ($searchType == 'blog' && !is_admin()) { - $query->set('post_type', 'post'); + $query->set('post_type', array( 'post','recipe')); +// $query->set('post_type', 'post'); } } return $query; diff --git a/home.php b/home.php index cfc46d3..9dde7d5 100644 --- a/home.php +++ b/home.php @@ -52,7 +52,7 @@ -

Recent Posts

+

Recent Recipes

-

Archive

+

Recipe Archive

-

Categories

+

Recipe Categories