Your First WordPress Plugin: Simple Optimization
WordPress is the largest blogging platform available on the internet today; and with the official release of version three just around the corner, it’s only going to get bigger. As such, over the next few self-contained tuts, we’re going to learn the ins and outs of WordPress plugin development, starting with the creation of our […]
Create WordPress Plugins With OOP Techniques
Object-oriented code, among other things, can help organize and add reusability to your code. In this tutorial, I will teach you the basics of writing a WordPress plugin using object-oriented techniques. We’ll be using Dribbble’s API as an example for this tutorial. Ready? What We’re Going to Learn By the way, if this sounds too […]
Add an Expiry Date to WordPress Posts
I run a few sites which include notices and important information in a banner on their home page. I tend to use a custom post type for this, adding my banners and displaying them where I need to in my theme. (If you want to do something similar, it’s explained in this tutorial.) But invariably my […]
Add an Automatic ‘Featured Image’ to Blog Posts Based on Category
Using featured images in post archives is a common feature of themes, but sometimes you might want to use featured images a bit differently. Occasionally I’ve worked on sites where the images to be displayed relate to the category a post is in and not to the post itself. Instead of adding the same featured […]
Add a Custom Column in Posts and Custom Post Types Admin Screen
In this tutorial we will see how to add a new column to the WordPress Posts management screen and in this column we will show the Featured Image of each Post. This new column will also be added in the management screen of any active Custom Post Type. Step 1 Activate Featured Images In this tutorial […]
Creating an Upcoming Events Plugin in WordPress: Introduction
WordPress is not just a blogging platform anymore, but can be used to develop complex web applications for many purposes. WordPress provides variety of APIs, thus allowing us to develop further on its base. We can extend WordPress to meet our needs using the Plugins API. With this powerful API we can develop solutions meeting […]
A Guide to Overriding Parent Theme Functions in Your Child Theme
If you’ve had any experience working with parent and child themes in WordPress, you’ll know that the template files in your child theme override those in your parent theme. For example, if your parent theme has a page.php file and you create a new one in your child theme, WordPress will use the one in the child […]
How to Create Custom WordPress Write/Meta Boxes
Creating meta boxes is a crucial part of WordPress theme/plugin development. It’s a way to add an appealing editor to the post screen and avoids forcing users to rely on custom fields. If you’ve ever created a custom post type in WordPress, you’ve probably wanted to add some sort of additional data to it. Sure, you could use custom fields, […]