Category Archives: WordPress

Using the WordPress Uploader in Your Plugin or Theme

WordPress has a nice media uploader dialog that it uses on the editor pages. Now wouldn’t it be nice if you could use it to handle image uploads for part of a plugin or theme you’re writing? Maybe you want to add an easy way to change the logo in a theme? A simple “Upload Image” button would work quite well for that, wouldn’t it?

It’s fairly simple to implement, providing you already have a bit of experience with the WordPress API.

The first step is to prepare your HTML. Put it wherever the code for your admin page is. You want to have a text input for the image URL, and a button that will launch the uploader dialog.

Continue reading →

WooThemes Increases “Permanent 2-for-1″ Offer

WooThemes has taken their famous “Permanent 2-for-1″ offer and made it even better. A standard theme purchase now includes two extra themes instead of just one (making it a 3-for-1 deal). Developer packages, which include the PSD source files, include three extra themes. That…

WordPress Theme of the Month: LiveTwit

This month’s featured WordPress theme is LiveTwit by Templatic. LiveTwit is a WordPress theme that isn’t for blogging. It’s primary focus is to make it dead-simple to create a “Twitterwall” like Helveti-Tweet or wpTweety. It pulls a live feed of data from the Twitter…

AJAX Edit Comments Goes Commercial

AJAX Edit Comments, a popular WordPress plugin that allows commentators to edit their messages for a time after they post, has become a commercial plugin. Jeff of WP Tavern managed to ask the authors a few questions about their decision. Are there plans to…

Using WordPress Template Tags Safely

Have you ever downloaded a WordPress theme that had support for a specific plugin built-in? When you installed the plugin the theme recognized that the plugin was activated and adjusted itself to accommodate. If you were to deactivate the plugin, the theme would gracefully…

Modifying The Contextual Help Menu in WordPress

Starting in version 2.7, WordPress has a pull-down “Help” menu in the upper-right corner of the screen, often joined by another menu for configuring display options for the page in question. By default the “Help” menu doesn’t do much. It gives some useful pointers…

WordPress 2.9 is Now Available: Backup and Upgrade!

WordPress 2.9 is now available. The new version includes plenty of new features on both the user and developer sides, including a global “trash can” for posts and comments, basic image editor, rel=canonical support, native support for post thumbnails (should your theme activate the…

What Fun Geeky Things Are Coming in WordPress 2.9?

Yoast has a post up discussing some of the Geeky bits in WordPress 2.9. Thanks to Peter Westwoord’s WordPress Beta Tester plugin, this blog is on the 2.9 development track again, after having been off trunk for a couple of months. That plugin makes…

Preventing the Caching of Dynamic Functions in WP Super Cache

WP Super Cache is commonly used to speed up WordPress blogs and reduce server load. In essence, it stores static HTML copies of pages on your blog so they will load faster the next time they are accessed. It works fairly well, but with…

How to Secure Your WordPress Installation

Digging into WordPress has recently published a new article on securing WordPress. It covers setting up optimal database privileges, adjustments you can make to your wp-config.php file, changing the table prefix, changing the default admin username, and a couple other things. Of course, when…