While customizing a WordPress site, sometimes We also need to configure, how our WordPress site display the search result. On our previous code snippet, I have showed how to exclude specific category from search result. This tutorial will be the reserve, display the posts from specific category only in search result. Maybe this is not a good idea, because the search result will be very limited, but lets just make this as a way to know more how actually WordPress works.
Leave a Reply