plugin-icon

RS Simple Category Selector

제작자: Rob Saurini·
Gives you the ability to promote categories associated with a post.
버전
1.0
활성화된 설치 항목
10
최근 업데이트일
Sep 22, 2012

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.
무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 3.4.2
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.