[How To] Exclude Pages from Search Results in WordPress
WPAssist / Theme Development - April 8, 2020If you have hidden pages on your blog, you may want to hide them from search results too. Here is a little trick to hide them all.
If you have hidden pages on your blog, you may want to hide them from search results too. Here is a little trick to hide them all.
One of my visitors asked me how to get page id using page slug and I created a small snippet to easily achieve this in a simple loop. Follow read more link to see the snippet.
Sometimes you may need to hide certain tags and categories from your widgets. In this post, I will explain you how to hide unwanted terms using wordpress filters. First open your functions.php file in your theme folder. This is the main script file where we […]