How to Get All Users With a Specific Role

  • Written on February 28, 2009
  • Posted in: WordPress
 
Screen shot 2010-05-23 at 7.50.15 PM
 

Sometimes as a WordPress plugin developer you want to get all of the users with a specific role. For example, maybe you want to create a plugin that emails all the “Editors” of your blog. To easily get all users of a role, use the function below. function getUsersWithRole($role) { //gets all users with specified…

How Many Versions of WordPress Should Plugins Support?

 
Screen shot 2010-05-23 at 7.53.22 PM
 

It is no secret that I enjoy writing WordPress plugins. I’ve got a few that I’ve released freely, some I keep to myself, and many are contract work. Most of my work goes undisclosed. However, when I release free plugins, the question that invariably arises is “what versions of WordPress will it support?” I have…

New WP Plugin: Absolute Privacy

  • Written on February 8, 2009
  • Posted in: WordPress
 
unapprovedlogin
 

For the past few weeks I’ve been working on a WordPress plugin that my wife requested. Today I’m happy to announce the release of my latest WordPress plugin called Absolute Privacy. What does it do? Absolute Privacy turns your blog into the ultimate private blog. Here’s a quick list of its features: Force registrants to…

Smart Ads 2.0 Brings Much Needed Changes

  • Written on January 16, 2009
  • Posted in: WordPress
 
brain2
 

I have finally updated Smart Ads to version 2.0. Smart Ads is an intelligent advertising plugin for WordPress. It allows users to automatically insert advertisements before and after their blog posts as well as in custom locations using built in shortcodes. Why is it called “Smart”? You can configure the plugin to only display post…

How to Install WordPress-MU on MAMP

  • Written on January 13, 2009
  • Posted in: WordPress
 
wpmu
 

While trying to install WordPress-MU on my local development server I kept getting the error message that “MAMP does not support port numbers in the URL.” My dev servers run on MAMP which use the port 8888. So my URLs look something like localhost:8888/wordpress. Once I figured out how to change the ports the fix…

Admin Favicon WP Plugin Updated

 
Screen shot 2010-05-23 at 8.30.18 PM
 

I just released version 1.4 of Admin Favicon, a free WordPress plugin that adds a custom favicon to the back end administrative panels. This is purely a maintenance release which confirms its WP 2.7 compatibility and has a few very minor code adjustments. Also, I have moved its homepage from Simply-Basic to it’s new home…