In this tutorial I’ll show you how to quickly restrict your WordPress search results to either Pages or Posts through a simple snippet of code in the functions.php file.

Using Child Themes to allow for future updates without losing your modifications.

To access the code snippet, please visit: http://wptuts.co.uk/restrict-search-results-to-pages-or-posts-in-wordpress/

Free tutorials for WordPress, Slider Revolution and Visual Composer. New tutorials added every Wednesday.

Take your WordPress website and skills to the next level!

SUBSCRIBE
https://www.youtube.com/channel/UCiTDv6q1XYwZnAm2EYN8wKw

LETS CONNECT:
https://twitter.com/WPTutz

SUPPORT: Our website offers additional information and perks. Please check it out! http://wptuts.co.uk

Close Menu

We use cookies to ensure that we give you the best experience on our website.