-
Recent Posts
Recent Comments
Archives
Categories
Meta
Author Archives: Gary Cao
GSoC 2011 idea: Revamp WordPress theme / plugin code editor
Overview (tl;dr) One day I came across this ticket, and decided that this would make a good component of my GSoC proposal. In addition to restoring code highlighting when editing theme / plugin, I also want to revamp the user … Continue reading
Ultimate Guide to Roles and Capabilities
Since Roles and Capabilities are introduced in WordPress 2.0, the User Level approach has been declared deprecated. However, it’s disappointing that most plugins and themes out there still use user levels to control access to admin option pages and other functionalities. This guide shows you how to properly use Roles and Capabilities in your plugins and themes.
Disclaimer: This article is a long one, therefore you should probably bookmark it so that you can always come back later for reference. Continue reading
Posted in Tutorials
46 Comments
5 tips for using AJAX in WordPress
AJAX is used in many WordPress themes and plugins. However, not all of those themes and plugins implement AJAX properly. This article reveals 5 best practices in developing AJAX for WordPress.
Warning: This is a long and information-packed article. Be sure to bookmark this post so you can always go back for reference! Continue reading
Posted in Tips & Tricks
72 Comments
Make Shortcodes User-Friendly
Since WordPress 2.5, Shortcode has proven to be one of the most powerful features that allows lots of room for flexibility and customization. However, as anything that has the word “code” in it, shortcodes are not very user friendly. For … Continue reading
Posted in Tutorials
30 Comments