Tag Archives: how to

Use Custom Actions in Your WordPress Plugins

If you’ve been using WordPress for any amount of time, you’ve probably come across a plugin that asks you to add something to your template. The instructions will say something like: Insert the following into your theme files where you … Continue reading

Posted in Codecraft, Webcraft | Tagged , , , , , , | 6 Comments

Use Classes in your WordPress plugins to increase code portability and reduce name conflicts

One of the most powerful features of WordPress is the huge community of developers making plugins that extend the software far beyond what the core application provides. It also allows people to add just what they want to use, rather … Continue reading

Posted in Codecraft, Webcraft | Tagged , , , , , , | 9 Comments

On Attribution and Plugin Priorities in WordPress

A few weeks ago I wrote instructions on putting a plugin attribution in the footer of your plugin’s Admin/Settings screen. It’s a good technique, and I’ve already seen a few plugins using it. I’ve noticed somewhat of an issue recently. … Continue reading

Posted in GUI Goodness, Webcraft | Tagged , , , , , , , , , , | 5 Comments

Consolidate Options with Arrays in your WordPress Plugins

If you’ve ever written a plugin for WordPress you’ve probably dealt with giving the end user options. Unless you’ve taken the low road and forced the user to directly edit the plugin file, “options” means a Settings screen in the … Continue reading

Posted in Codecraft, Webcraft | Tagged , , , , , , , , | 38 Comments

WordPress plugin attribution footer — update

In a recent post I showed how to put an attribution in the footer of your plugin’s admin screen. In the example I gave, I used a format of: MyWidget plugin | Version 1.0 I have seen a few plugins … Continue reading

Posted in GUI Goodness, Webcraft | Tagged , , , , | 2 Comments

Give your WordPress plugin credit without cluttering the GUI

In a previous post I discussed the idea of locating your plugin’s Settings screen where it made sense within the Admin menus — giving an example of my own pull-quotes plugin’s Settings going under the Design menu. I briefly touched … Continue reading

Posted in GUI Goodness, Webcraft | Tagged , , , , , , , , | 9 Comments

Use Action Links to direct users straight to your WordPress plugin’s admin page

I’ve recently come across repeated discussions (especially on the wp-hackers mailing list) debating where plugin authors should place their custom admin pages. I discussed that question directly in my previous post, and basically stated that the plugin’s admin page can … Continue reading

Posted in GUI Goodness, Webcraft | Tagged , , , , , , | 17 Comments