Category Archives: Wordpress

Adding AJAX to your WordPress plug-in

AJAX is a great way to add some ease of use functionality to your plugin by updating part of a page based on user input. I use it for updating a list of checkboxes in the example below when a … Continue reading

Posted in Wordpress | 2 Comments

Messaging for your WordPress Plugin.

Ever wonder how the yellow Completed and red Error messages are generated in WordPress? Well, it’s really quite simple. For Informational messages, just add: echo "<div id=’message’ class=’updated fade’>Group updated successfully.</div>"; The id of message and the class of updated … Continue reading

Posted in Wordpress | Leave a comment

Add JavaScript to your WordPress plugin.

Instead of putting your javascript in-line with the rest of your html, it is recommended that you use the WordPress API to add the scripts in a managed way. I experienced this recently while developing the Tag Grouping plug-in. Before … Continue reading

Posted in Wordpress | Leave a comment