Redirect First Time Commenters to a Custom WordPress Page

For reasons best known to you, redirecting readers or site visitors commenting on your blog for the first time to say, a Thank You for Commenting page would be fascinating.The code snippet below does the job perfectly well.[php] function redirect_first_time_commenters( $url, $comment ) … [Read more...]

Creating Tables in WordPress Database on Plugin Activation

WordPress provides plugin developers the option to store settings or data specific to a plugin into to the options database table (wp_options) made easy with a number of helper functions such as add_option, update_option and delete_option to add, update and delete data in the options table … [Read more...]

A look at WordPress Pluggable Functions

There are a list of PHP functions in WordPress called Pluggable Functions used internally by WordPress to execute certain tasks.The aim of these functions is to give plugin developers the ability to modify or override tasks perform by these functions.A full list of pluggable functions is … [Read more...]

How to Display The Feed Content of a Website in WordPress

The fetch_feed is a built-in WordPress function that retrieves and parses an external feed. Under-the-hood, it's powered by SimplePie - a very fast and easy-to-use PHP feed parser.Follow me as I walk us through the steps in using fetch_feed to display the feed content of this blog … [Read more...]

WordPress 101: Internationalization and Localization

One of the most-loved features of WordPress CMS is the support for a number of different languages.By default, WordPress is presented in U.S. English, but it does come with a built-in language capability. This has allowed the WordPress community to translate WordPress into several languages. … [Read more...]

The Subtle Difference Between home_url() and site_url()

WordPress ship with a lot of helper functions to speed up theme and plugin development such as the home_url() and site_url().These two functions - home_url() and site_url() return the same value (WordPress address or URL) if WordPress hasn't been given its own directory.If WordPress is given … [Read more...]

How to Manage and Batch Install Your WordPress Plugins

This is an article i wrote for SitePointAccording to Forbes, over 60 million websites globally are powered by WordPress. Numbers like this show that WordPress is no doubt a leading contender when it comes to Content Management Systems (CMS).The application of WordPress has gone past just a … [Read more...]