diff --git a/README.md b/README.md index c5fd370..b58a4ed 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -The Investigative News Network WordPress Theme +The Institute for Nonprofit News WordPress Theme === This is the WordPress child theme used for https://inn.org. diff --git a/functions.php b/functions.php index 80ad384..ca430cc 100644 --- a/functions.php +++ b/functions.php @@ -197,7 +197,9 @@ function inn_print_scripts() { * Add search box to main nav */ function inn_add_search_box() { - get_template_part( 'partials/inn-nav-search-form' ); + if ( ! is_search() ) { + get_template_part( 'partials/inn-nav-search-form' ); + } } add_action( 'largo_after_main_nav_shelf', 'inn_add_search_box' );