Multiple Users With WordPress Multisite

When you are using the WordPress multisite it's very easy to create a new site and straight away start using it just like your other WordPress sites. In WordPress when you create a new site you are as...

WordPress Dropins

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 which can be added to...

CRUD Queries For WordPress Custom Tables

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 create tables in database. This tutoria...

Get Database Table Prefix In WordPress

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_, you can change this p...

Create Custom Tables In WordPress

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 can create a custom settings page using t...

Remove Column On Pages Table In WordPress

When you install some plugins they may add additional columns to the posts and pages table. Just like the Yoast SEO plugin, it's a great plugin but I don't need that information to be on the post tabl...

Remove Automatic Paragraphs In Shortcodes

This post is an extension to the post I wrote some time ago about displaying code snippets on a WordPress site. This post showed how you can create a WordPress plugin which makes a shortcode for a num...

Validate Requests In WordPress Using Nonce

There are loads requests that you can perform in WordPress from either forms or links that will do things like updating database values or deleting posts. If you are deleting a post or updating any va...

Have Always Installed WordPress Plugins

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 changes to plugins, themes, users...any...

Get Current Plugin URL

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 same way on any theme you h...

Remove Plugins From Plugin Screen

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 break the site. Some of the WordPress plugins ca...

Multi Environment WordPress wp-config.php

When you are developing any website you will always have different environments for your website, the number of environments you need will depend on the size of the project and how many people are inv...

Validate Featured Image On Post

Since Wordpress version 2.9 you have been able to add a post thumbnail to all your posts on your website. A post thumbnail is called a featured image for the posts, this image can be displayed in anyw...

Creating A Custom Taxonomy In Wordpress

WordPress comes with inbuilt functionality which enables you to group posts or post types together. This functionality is called a taxonomy, by default WordPress comes with two default types, there is...

Set Minimal Comment Limit In Wordpress

The reason for comments being turned on a blog is to add more in-depth discussion to a certain post. But some people comment just to get a link back to their own site, these comments will consist of t...