WordPress.org

Ready to get started?Download WordPress

Plugin Directory

RS Simple Category Selector

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

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.
Tags:

Requires: 3.2 or higher
Compatible up to: 3.4.2
Last Updated: 2012-9-22
Downloads: 326

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1