Side Area
Blog - Pim Ganzeboom
Websites & Online Marketing in Antwerpen
Web Development, Webdesign, Web design, Antwerpen, Antwerp, Online Marketing
page-template,page-template-blog-masonry,page-template-blog-masonry-php,page,page-id-560,ajax_fade,page_not_loaded,,vertical_menu_enabled,select-child-theme-ver-1.0.0,select-theme-ver-3.2.1,wpb-js-composer js-comp-ver-4.2.3,vc_responsive
Including categories on WordPress search results page

Say you've added a few categories to your Wordpress back-end. The default Wordpress search displays only posts, but you would like to include your categories in the Wordpress search results as well. Include the following snippet in your search.php template, and you should be good...