Conditional tags are functions used in WordPress themes and plugins to display content, or perform actions, based upon whether a certain condition is true or not. A condition can be anything; it might be a condition for whether the user is currently viewing the homepage, or a condition for whether the user is currently logged-in. [...]
View PostHow to Properly Format and Enhance Your Plugin’s Readme.txt File for the WordPress.org Repository
When beginning writing plugins for WordPress, most developers will publish the fruits of their work in the official WordPress.org Plugin repository. It’s a great way to get into plugin development for your favorite CMS. I started this myself in June 2011 and so far it has gotten me lots of experience on how to code [...]
View Post deckerweb, documentation, readmeDisplaying Custom Post Types in Widgetized Sidebars
This tutorial demonstrates how to display a list of recent custom post type entries in any widgetized sidebar in less than 5 minutes. The widget is provided by my plugin called Better Recent Posts Widget Pro, and it is exceptionally powerful, yet very easy to use. The widget will allow us to list entries from [...]
View Post better recent posts, easy content types, ecpt, widgetWriting Your First WordPress Plugin Part 4
In part four of Writing Your First WordPress Plugin, I demonstrate how to load style sheets with your plugin. I also walk you through some best practices in terms of efficiency in regards to when you should, and should not, load styles/scripts with your plugin. This entry is part 4 of 7 in the Writing [...]
View Post add_action, CSS, wp_enqueue_script, wp_enqueue_styleUsing the Automatic Template Creation System in Easy Content Types
WordPress themes are based entirely on templates. These templates provide a way to customize the layout of your content on different pages and give you total control over how your website functions. Easy Content Types includes a very powerful function that will automatically create new template files for your custom post types and taxonomies based [...]
View Post easy content typesWriting Your First WordPress Plugin Part 3
In part 3 of this tutorial series, I describe a couple of fundamental techniques for beginner WordPress plugin developers. This section details a very important function for WordPress plugins: how to add any kind of content to the end of a post. I show how it is done, and then also demonstrate some real world [...]
View Post the_contentStructuring Your First WordPress Plugin
Knowing how to best structure your plugin is very, very important to the success and quality of your plugin. You should spend several minutes laying out the structure of your plugin before you ever begin writing it. This part of the Writing Your First WordPress Plugin series will walk you through the process of laying [...]
View Post plugin, pluginsAutomatically Displaying Meta Field Values in Easy Content Types
Displaying meta information that you have created using custom meta boxes in Easy Content Types is really simple, as long as you are using version 2.3 or newer. There are a series of options in the Settings page that allows you to define how the meta field values should be displayed. This entry is part [...]
View Post easy content types, meta, meta boxHow to Begin Writing Your First WordPress plugin
The world of plugins can seem a scary place to venture if you’ve never been there before. I remember when I first started, it was because I wrote a tutorial over at Pro Blog Design about how to create a custom Font Uploader for your WordPress theme, and readers asked that I make it into [...]
View Post plugin, plugins
