Using front-end AJAX requests in your WordPress plugins

Although it is fairly uncommon to be adding AJAX functionality to your WordPress plugins, it can be necessary for it to be added. Luckily it is quite easy and straight forward to integrate the required components as and when they are required.

To help explain how this can be achieved, we will be creating a plugin called “Ajax Example“, stored in the folder “ajax-example” inside the plugin directory of your WordPress install.

Continue reading “Using front-end AJAX requests in your WordPress plugins”

Forcing a WordPress plugin to be loaded before all other plugins

When you activate a plugin via the WordPress admin panel it calls the action hook “activated_plugin“, which updates the “active_plugins” site option stored in the database to determine which plugins your site should load.

The option value is a serialized array of the active plugins saved in alphabetical order according to the plugin directory and file name, for example:

Continue reading “Forcing a WordPress plugin to be loaded before all other plugins”

WP SubHeading Plugin (1,000 downloads)

The WordPress SubHeading plugin allows you to add sub titles to both your blog posts and pages. Last night it followed in the footsteps of my Page Meta plugin by reaching the 1,000 downloads mark.

Yesterday saw over 100 downloads as a result of numerous modifications and updates, some of which due to mistakes on my behalf which was mildly irritating. The main reason behind all the updates was to cater for numerous feature requests and bugs reported by users of the plugin. Continue reading “WP SubHeading Plugin (1,000 downloads)”

WP Page Meta Plugin (1,000 downloads)

The WordPress Page Meta plugin was initially written as a simple solution for adding meta descriptions to pages on a site I have been working on, as this is not available by default. Today it broke through the 1,000 downloads mark.

The plugin quite quickly evolved into a solution that allowed for keywords as well as descriptions to be added, as well as the ability to set a custom page title. If required the page title can even be defined in your page template, allowing for dynamic pages / templates to have specific titles. Continue reading “WP Page Meta Plugin (1,000 downloads)”

WordPress hosted plugins and Tortoise SVN (Windows)

Plugins are used to extend the core functionality of WordPress, allowing you to create almost anything you could possibly require. The Plugin Directory contains thousands of community contributed plugins that you can download, rate, and comment on.

If you’re looking to create your own plugin and want to get it noticed, it’s recommended that you publish and host it in the directory. Here’s a quick guide to take you through the steps of publishing a plugin on a Windows based system. Continue reading “WordPress hosted plugins and Tortoise SVN (Windows)”