Pages in WordPress tend to have static content and can easily be accessible from the navigation menu in most of the cases. So, if you want to exclude pages from your search results, use the demonstrated function.
Display Updated Date of Your Post in WordPress
If you are editing or updating your published posts every now and then, feel free to show the post updated date on WordPress. You can use this function on both single and archive page.
Display Random Posts on Single.php Page in WordPress
Learn how to display list of random post title from your blog or from custom post type archive in WordPress. Give more choices to your visitors or readers while they are reading any article.
How to Remove RSD Link from WordPress
Really Simple Discovery (RSD) services could be useful if you are using client software to access, read or write your blog posts. If you don't use such services for your site, learn how to remove this unnecessary meta tag in WordPress.
Rewrite the CPT URL Structure with Post ID
Learn to rewrite the custom post type permalink with post id on the URL in WordPress. Very useful for forum, listing related post type.
How to Remove WordPress Generator Meta Tag
Giving away the WordPress version number of your site could put your site in harm's way. Learn to remove meta generator tag in WordPress.
How to Place Ad Between WordPress Post Loop
Simple and effective way to place ad between WordPress posts (loops). Works both for blog post and Custom post type.