RS Simple Category Selector

Gives you the ability to promote categories associated with a post.

Author:Rob Saurini (profile at wordpress.org)
WordPress version required:3.2
WordPress version tested:3.4.2
Plugin version:1.0
Added to WordPress repository:19-04-2012
Last updated:22-09-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://github.com/saurini/Wordpress_Category...
Total downloads:1 120
Active installs:10+
plugin download
Click to start download

If you have more than one category associated with a post, how do you tell which category takes precedence? This plugin gives you the ability to promote the category to the main one on the post edit page.

This gets stored in post meta for later use. Soon, I will add some simple functions that will allow you to get the main category on the front end.

Use

  • You can use the shortcode [rs_print_main] inside the post to print out the category title.
  • In the theme, you can use rs_get_main_category_id( $post_id ) to return (not print) the id of the main category.