ھي پلگ ان WordPress جي جديد 3 وڏين رليزز سان آزمايو نه ويو آھي. اهو ٿي سگهي ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

Primary Category

وضاحت

This plugin adds radiobuttons near every category (even if you add a new category) so you can choose the primary category of your post **. Selecting a primary category and updating the post saves this data into a custom field with a meta key of “primary_category”.

To display a list of all posts with a particular primary category, use the shortcode [primary-category name=”CATEGORY NAME” post_type=”POST TYPE”] where CATEGORY NAME is the name of the primary category you wish to display and POST TYPE is the custom post type name. If a name is not specified, the shortcode will default to all posts with “uncategorized” set as the primary category. images or post.

تصوير

  • screenshot-1.png: New custom radiobutton for primary category

انسٽاليشن

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress
  3. See the categories tab in your post or custom post edit page. Set the radiobutton near your preferred category.

FAQ

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress
  3. See the categories tab in your post or custom post edit page. Set the radiobutton near your preferred category.
How can I access the primary category data?

A post’s primary category is stored in the post meta under the key ‘primary_category’.

What shortcode can I use to display posts with a particular primary category?

[primary-category name=”CATEGORY NAME” post_type=”POST TYPE”]

جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

تعاون ڪندڙ & ڊولپرز

“Primary Category” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

ترجمو ڪريو “Primary Category” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

1.0

  • First version of the plugin