Cleverness – WordPress Resources

Home

Welcome to cleverness.org. Here you’ll find resources such as WordPress themes, WordPress plugins, and articles on WordPress.

Get Categories Author has Posted in for Custom Post Types

August 21st, 2010

I needed to list all the categories of a custom post type that an author had posted in.

I found code to do that with regular posts in the wordpress.org forums and I modified it to use with custom post types.

Be sure to replace customposttype with the name of your custom post type.

Place this into your theme file…

(continue reading)


New To-Do List Plugin Version

August 21st, 2010

Updated the To-Do List Plugin with an updated German translation by Ascobol.

(continue reading)


Limit Number of Posts Per User in WordPress

August 13th, 2010

This code will limit the number of posts a user can make.

At first, I was trying to limit each user to one post and I had that working. Then I realized that I needed to have different numbers of posts for different users, so I created an option in a user’s profile that only people with the right capability…

(continue reading)