search form redirects to home
I forgot that in my function.php I had a kill function that was redirecting to home.php my search. I just needed to delete search from the function below /* Kill attachment, search, author, daily archive pages ———————————————— */ add_action(‘template_redirect’, ‘bwp_template_redirect’); function bwp_template_redirect() { global $wp_query, $post; if (is_author() || is_attachment() || is_day() || is_search() || … Read more