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

Creating a Searchable PDF Archive of Publications

Although this is not the place for plugin recommendations (too much personal bias, I guess), I have used the WP Google Search plugin https://wordpress.org/plugins/wp-google-search/ which integrates with Google Custom Search Engine. All you need is a free Google CSE key; enter that in the plugin’s settings, and that’s it. Seems to work well with the … Read more