49 Lessons To Learn And Code

FREE

Cleaning Up After Your Plugin

in Plugin Development

In this tutorial we're going to look into how you can clean up after your WordPress plugin when it's deactivated or uninstalled. This is an area of plugin development that...

Read More


How To Use Page Templates In A Plugin

in Plugin Development

In this tutorial we're going to investigate how you can override a theme template files from your WordPress plugins. For this we're going to be using two filters: theme_page_templates template_include...

Read More


FREE

One Plugin Vs Lots Of Smaller Plugins

in Plugin Development

Yesterday I asked this question on Twitter and was quite interesting to see the response to the question so I wanted to post it on here and open the discussion...

Read More


Using Composer With WordPress

in Plugin Development

In this tutorial we're going to investigate using composer as the dependency manager for WordPress. What Is Composer? Composer is a dependency manager for PHP which allows you to easily...

Read More


Run Code For Multisite On Plugin Activation

in Plugin Development

When you're developing a new plugin you may need to run some code on the activation of the plugin. For example if your plugin requires a database table to be...

Read More


FREE

How To Create A Custom Geotag Field On Formidable

in Plugin Development

In this tutorial we're going to use the Formidable plugin and create a new field type that will use HTML5 geolocation to get the current user location, once we get...

Read More


Dequeue Styles and Scripts In WordPress

in Plugin Development

When developing on WordPress one of the first things you need to learn about is how to add Javascript and Stylesheets to your page correctly. If you're new to WordPress...

Read More


Restrict Content Pro Stats WordPress Dashboard Widget

in Plugin Development

If you use Restrict Content Pro on your WordPress membership site then you most likely find yourself logging in regularly to check the stats on your site. One of the...

Read More


Back To Top WordPress Plugin

in Plugin Development

In a previous tutorial I wrote about how you can use jQuery to create a Scroll back to top button. jQuery Back To Top In this tutorial we are going...

Read More


FREE

Get A WordPress Plugin File Path Or URL

in Plugin Development

In this code snippet we are going to look into how you get a full path of a plugin file. When you are developing a plugin you can store multiple...

Read More


Using Namespacing And Autoloaders In WordPress Plugins

in Plugin Development

One thing I have been experimenting with recently is adding namespacing and autoloaders to new WordPress plugins. What Are PHP Namespaces PHP namespaces was introduced in version 5.3. Namespaces is...

Read More


FREE

Override Theme Template In Plugin

in Plugin Development

In this tutorial we are going to look at how you can override a theme template file from within a plugin. When WordPress displays a piece of content it selects...

Read More


FREE

Using AJAX In WordPress

in Plugin Development

In the following tutorial we are going to learn how you can use AJAX in WordPress to run your own functions. The way this works in WordPress is by allowing...

Read More


Get A List Of Registered Actions In WordPress

in Plugin Development

WordPress actions and filters is an event driven architecture that allow you to run specific code at certain times in your application. To do this WordPress uses two functions the...

Read More


FREE

Change Language Locale From WordPress Plugin

in Plugin Development

WordPress has the ability to be fully translated, this can be done in both themes and plugins. Translation Files To get WordPress to translate all of the text it uses...

Read More


FREE

Debugging In WordPress

in Plugin Development

Debugging your website is very important for any project, you will need to be able to debug your site in all the difference environments from local to live. But depending...

Read More


FREE

Uninstall Hook For WordPress Plugin

in Plugin Development

When a user deletes your WordPress plugin it might be necessary that you do some processing for cleaning up the WordPress site. This is because a WordPress plugin can be...

Read More


FREE

Remove Query String From Stylesheets In WordPress

in Plugin Development

A website owner should always be trying to improve the speed of their website as much as possible. In WordPress there are many things you can do to help improve...

Read More


FREE

Force WordPress To Check For Plugin Updates

in Plugin Development

A good feature of WordPress is the ability to automatically update plugins and themes with just a click of a button. On other CMS's when a new version of a...

Read More


FREE

How To Rewrite URLs In WordPress

in Plugin Development

In this tutorial we are going to look at how you can use the built in WordPress rewriting API to create your own unique links for your website. WordPress will...

Read More


FREE

Display Post Meta Box On Specific Page Templates

in Plugin Development

In WordPress you have the ability to create different post types to hold different content, along with the create different post types you can also add new content fields attached...

Read More


Debug WordPress Cron Jobs

in Plugin Development

In WordPress you can setup scheduled tasks that allow you to run a certain action at a scheduled time in the day. As this runs a set action you can...

Read More


FREE

Add Button To Editor For All Shortcodes

in Plugin Development

WordPress shortcodes was introduced in WordPress version 2.5 and is a great way of adding full flexibility and control of certain functionality to the editor of your WordPress CMS. The...

Read More


Override Sidebars Per Page In WordPress

in Plugin Development

In WordPress development you define what sidebars can be used on your theme, these sidebars will then appear on the widget dashboard screen where you can assign all the widgets...

Read More


FREE

WordPress Dropins

in Plugin Development

To extend the functionality of WordPress most people have only heard of the use of plugins. Not many people have heard of the term Dropins. WordPress has it's core functionality...

Read More


FREE

CRUD Queries For WordPress Custom Tables

in Plugin Development

In a previous tutorial we learnt about how you can create your own custom tables in WordPress, this went over the basics of how to use the dbDelta() function to...

Read More


FREE

Get Database Table Prefix In WordPress

in Plugin Development

If you are using WordPress multisite then depending on what blog you are using the database table prefix will be different. By default the WordPress database table prefix is wp_,...

Read More


Create Custom Tables In WordPress

in Plugin Development

If you are creating your own WordPress plugin you may want to store data inside the WordPress database. There are a few options that you can use for this, you...

Read More


FREE

Have Always Installed WordPress Plugins

in Plugin Development

When you are doing client work and hand over the website for them to use, you would normally give them an administrator account so they have full access to make...

Read More


FREE

Get Current Plugin URL

in Plugin Development

During WordPress plugin development you will need to include any Javascript or CSS files used by plugin inside the plugin folder, this means that it can be used exactly the...

Read More


FREE

Create A Sharrre WordPress Plugin

in Plugin Development

A couple of months ago I wrote a tutorial about how you can use a jQuery plugin Sharrre to create your own custom share buttons for your website. This tutorial...

Read More


FREE

Remove Plugins From Plugin Screen

in Plugin Development

If you are creating a WordPress site for a client you could install a load of useful plugins for them, only for them to go in deactivate the plugin and...

Read More


FREE

Useful WordPress Utility Functions

in Plugin Development

In this article we are going to look at some of the utility functions that you can take advantage of if your website is built using WordPress. If you have...

Read More


Alert Theme Users To Required Plugins

in Plugin Development

One of things that I've said about premium Wordpress themes before is the amount of features that are included in the theme options panel page. Most of these theme options...

Read More


FREE

Stop Loading Stylesheets And Javascript In WordPress

in Plugin Development

In a previous post I wrote about how you can add stylesheets and Javascript files to WordPress correctly by using the wp_enqueue_style() function. By using this function you can make...

Read More


FREE

Introduce Your Plugin With WordPress Pointers

in Plugin Development

In version 3.3 WordPress released a new feature called pointers. These are little pop-up notification boxes which you can use to point to new information on your WordPress admin area....

Read More


FREE

Data Validation With WordPress

in Plugin Development

When building any sort of web application you need to have a focus on security, one area of security that is a must is data validation. Data in your web...

Read More


FREE

Handling WordPress User Roles

in Plugin Development

Wordpress comes with an inbuilt user manager to allow you to have full flexibility on the users of your WordPress site. The security system it uses has users, roles and...

Read More


FREE

Add Date Picker To WordPress Admin

in Plugin Development

In a previous article you would of learnt how to add default third party applications on your WordPress site. Here is a list of all the default scripts you can...

Read More


FREE

Add Colour Picker To WordPress Admin

in Admin Area

In a previous tutorial you would of learnt how you can create your own theme options page using the Settings API. You might of also seen the tutorial about default...

Read More


FREE

Default Scripts To Use In WordPress Development

in Plugin Development

There are a number of different default stylesheets and Javascript files which comes with your core WordPress install. These can be used at any time in your WordPress plugin or...

Read More


FREE

How To Cache Queries In WordPress

in Plugin Development

One of the best things about the WordPress CMS is the power of it's built in APIs, there are multiple APIs which make it so easy for you to get...

Read More


FREE

Add Image To Your Plugin On WordPress.org

in Plugin Development

If you have a look at some of the biggest plugins on the WordPress repository you will see that all of them have a banner image at the top of...

Read More


FREE

WordPress File Header Comments

in Plugin Development

The best thing about WordPress is that everything it does is extensible, this means that developers can do anything they want by building on top of the WordPress framework. When...

Read More


FREE

Create A WordPress Plugin To Add A Pin Button To Every Image

in Plugin Development

Pinterest is the newest big player in the social media world, they have quickly grown to several million users, in the last year the amount of users has grown more...

Read More


FREE

Run Function After WordPress Plugin Activation

in Plugin Development

When you are creating a WordPress plugin there are some things you may need to do when the users activate a plugin. For example if you need to setup a...

Read More


FREE

Create Cron Jobs In WordPress

in Plugin Development

A cron job allows you to automatically set a function to run at a set time or interval. WordPress comes with an in-built function wp_schedule_event(). WordPress Schedule Event The function...

Read More


FREE

Add Additional Links To The WordPress Plugin Admin

in Plugin Development

Here is a useful snippet submitted by SHelfinger.EU. When you activate a plugin in WordPress the author can place links in the plugin dashboard screen to show the users of...

Read More


FREE

Display The Number of Database Queries In WordPress

in Plugin Development

When you are preforming maintenance on a WordPress blog one of things you need to check for is the speed of your WordPress database. You need to make sure that...

Read More