Posts Tagged ‘customization’

How To Display Author’s Comment Count in WordPress Without a Plugin

In this tutorial, I will show you how to display the number of comments an author has posted in the post´s comment section without the need of a plugin, as shown in the image below:

Counting Author's Comments.

Everytime someone leaves a comment on any post, the Author´s comment total count will show up next to his/her name.

Continue Reading »

How To Automatically Control The Manual Excerpt in WordPress

WordPress Excerpt is an optional summary of your posts. In this tutorial, I will show you how to automatically control the Manually typed excerpt AND the Automatically generated excerpt at the same time, by using a simple function and without the need of a plugin.

The image below shows the result when using CODE-Y below. Notice that both the Manually typed Excerpt and the Auto-generated excerpt are present. Continue Reading »

How To Use Your Gravatar as Favicon in WordPress

Comments Off

In this tutorial, I will show you how to use Gravatar as Favicon in WordPress as shown in the image below. The image shows that I am using my Gravatar image as Favicon.

Boutros AbiChedid - Gravatar as Favicon.

A favicon (short for Favorite icon) is an image, most commonly 16×16 pixels, associated with a particular Website. The browsers typically display a page´s favicon in the address bar and next to the page´s name in a list of bookmarks and also in the browser tabs. Continue Reading »

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 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 »

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 Add HTML Sitemap For Custom Post Types in WordPress

In this tutorial, I will show you how to dynamically display an HTML Sitemap for Custom Post Types in WordPress without the need of a plugin. Dynamically means that the Sitemap updates automatically with every new Custom post added. Yes, there are plugins that add an HTML Sitemap to your blog. But I encourage you to read my previous post about unnecessarily adding plugins to your theme, and you don´t need a plugin for such a simple task. Continue Reading »