Posts Tagged ‘Tips and Tricks’

How To Exclude Posts, Pages and More From WordPress Search Results

In this tutorial, I will show you how to refine and filter Search Results in your WordPress Blog´s front-end. Specifically, I will show you how to Exclude Posts, Pages, specific Categories, Custom Post Types and more from your WordPress Search Option.

In general, every WordPress Blog has a Search box that you can use to search based on your keywords. Continue Reading »

How To Display Your Latest Tweets in WordPress Without a Plugin

As of June 11, 2013, Twitter API v1 officially retired. The new version is Twitter API v1.1. Thus the code discussed in this post NO longer works. I will update this post with the new code if/when I find a solution. Thanks.

Do you want to display your latest tweets on your WordPress Website? Continue Reading »

How To Redirect First Time Commenters in WordPress Without a Plugin

In this tutorial, I will show you two separate codes on how to Redirect all your WordPress Commenters to a Thank You page, and also how to only Redirect your First Time Commenters to a Thank You Page without the need of a plugin.

This tutorial is for you, if you are asking one of these 2 questions:

  1. How can I get ALL my WordPress commenters to redirect to a fancy “Thank You” page. Continue Reading »

How To Obfuscate Email Addresses in WordPress Without a Plugin

In this tutorial, I will show you how to Protect email Addresses in WordPress, and prevent email spam with the built-in WordPress antispambot() function. You probably did not know that there is a function in WordPress that automatically obfuscate an email address.

Spam bots are regularly scanning the Web to find emails to spam. But what if you want to display your email, or other Authors´ emails on your WordPress blog? Continue Reading »

How To Display & Modify Allowed HTML Tags in WordPress Comments | allowed_tags

In this tutorial I will show you how to display the WordPress default allowed HTML Tags list for the comment form on your WordPress blog, as shown in the image below:

Add Notice for Comments: Allowed default HTML Tags and attributes.

Also, I will show you how to modify the allowed HTML tags and attributes list to fit your needs. I will show you how to remove tags from the default list and how to add HTML tags to the list for the Comment textarea in WordPress. Continue Reading »

WordPress Tip: How To Separate Comments From Trackbacks & Pingbacks Using wp_list_comments Function

In this tutorial, I will show you how to separate pings (Trackbacks & Pingbacks) from comments when using the wp_list_comments() function in WordPress. The wp_list_comments() function is located in the comments.php file in your theme´s folder.

The wp_list_comments() purpose is to display all comments (including Trackbacks & Pingbacks) for posts based on a variety of parameters including ones set in the dashboard in Settings -> Discussion panel. Continue Reading »

WordPress Tip: How To Exclude Pages From wp_nav_menu Function

In this tutorial, I will show you how to exclude certain pages from the navigation menu when using the wp_nav_menu() function in WordPress. The wp_nav_menu() function is usually located in the header.php file in your theme´s folder.

To my surprise, I discovered that the wp_nav_menu() does not contain “exclude” as one of its parameters. So in this case, how to prevent certain pages from showing up in the menu? Continue Reading »

How To Display Most Commented Posts in WordPress Without a Plugin

Do you want to show your Most Commented Posts on your Blog? In this tutorial, I will show you how to display your most popular posts (based on Comments) in WordPress Without a Plugin. Probably you already have seen Blogs displaying the Most Commented Posts and you wonder how it is done.

Yes, there are plugins that display the most popular posts on your blog, but they all tend to do a lot more than you need. Continue Reading »

How To Display Most Viewed Posts in WordPress Without a Plugin

Do you want to show your Most Viewed Posts on your Blog? In this tutorial, I will show you how to display your most popular posts (based on Views) in WordPress Without a Plugin. Probably you already have seen Blogs displaying the Most Viewed Posts and you wonder how it is done.

This tutorial is a natural progression from my previous tutorial: How To Track & Display Post Views Count in WordPress Without a Plugin. Continue Reading »