Hide posts/pages from search results
If you want to hide certain pages or posts from the WordPress search results. Then you need to edit the 'functions.php' file adding a nice snippet of code.
18 Mar, 2013
3,004
If you want to hide certain pages or posts from the WordPress search results. Then you need to edit the 'functions.php' file adding a nice snippet of code.
Here is how to hide google analytics code on the 'footer.php' file in WordPress, so it stops appearing when previewing the posts and pages in admin.