Tech: How to remove your front page from WordPress search results

If you use a static front page for your WordPress site, you may (or may not) want it to show up in your site’s search results. If you want to exclude your front page from your search results, use this code.

Cross-posted from edinburghwp.com