Posts Tagged ‘wordpress’

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 Create a Variable Length Excerpt in WordPress Without a Plugin

WordPress Excerpt is a summary of your posts. In this tutorial, I will show you how to generate variable Length Excerpt that completes the sentence. Meaning that the Excerpt is not cut off mid-sentence. Also, I will show you how to preserve All, Some or None of the HTML formatting in the Excerpt, among several other features listed below. Continue Reading »

How To Remove Header Tags and Their Content in WordPress Excerpt

WordPress Excerpt is a summary of your content. In this tutorial, I will show you how to selectively remove Header Tags (h1 through h6) and their content for the automatically generated excerpt. Also I will show you how to selectively remove Header Tags and their content while at the same time preserving HTML formatting for other HTML tags. Continue Reading »

How To Disable Self Pingbacks in WordPress Without a Plugin

By default, WordPress blog automatically send a pingback to itself any time you link to one of your own internal old post. It would be nice if this self-pingback feature can be turned off in the dashboard.

Self-pings, or pings within your own blog, are found useful by some, annoying by others. Those who find them useful feel that self-pingbacks is a good approach to increase inter-linking between posts. Continue Reading »

Trackbacks and Pingbacks in WordPress

In this tutorial, I will discuss the basics of Trackbacks and Pingbacks in WordPress. For now, remember that both are methods for blogs to communicate with each other. Trackbacks are more prone to spam than Pingbacks. All WordPress Websites are set up, by default, to send and receive pingbacks automatically.

If used properly, trackbacks and pingbacks are another way to increase traffic to your blog and build links. 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 »

Google Authorship: How To Show Author Information in Search Results (and my Frustration With it)

WordPress: How to Display Author Information in Google Search Results.

This tutorial is specific to WordPress, but if you use other blogging platforms, you may be able to adapt some of the instructions. This tutorial, is intended for single-author WordPress blogs. References will be given for multiple-author blogs and for Guest bloggers.

Several months ago, Google started including authors profile in Search Results by highlighting authors in SERPs. 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 Sortable Custom Columns in WordPress Dashboard

In a previous tutorial, I showed you how to display a plain, non-sortable “Views” Column for Posts in the WordPress Dashboard. In this tutorial, I will show you how to make that “Views” Custom Column Sortable for Posts, ascending or descending based on the number of post views.

A WordPress developer asked me the following question: Is there a way to make the “Views” Custom Column sortable in the WordPress dashboard? Continue Reading »