{"id":121235,"date":"2020-05-07T15:35:12","date_gmt":"2020-05-07T15:35:12","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/simple-primary-category\/"},"modified":"2023-11-24T20:29:37","modified_gmt":"2023-11-24T20:29:37","slug":"simple-primary-category","status":"publish","type":"plugin","link":"https:\/\/pap-aw.wordpress.org\/plugins\/simple-primary-category\/","author":14788189,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.1","stable_tag":"1.1.1","tested":"6.4.8","requires":"5.0","requires_php":"7.3","requires_plugins":null,"header_name":"Simple Primary Category","header_author":"MrAsharIrfan","header_description":"A light-weight WordPress plugin to assign primary category to posts and custom post types.","assets_banners_color":"","last_updated":"2023-11-24 20:29:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/asharirfan\/simple-primary-category","header_author_uri":"https:\/\/AsharIrfan.com\/","rating":5,"author_block_rating":0,"active_installs":100,"downloads":5087,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","changelog","description"],"tags":{"1.0.0":{"tag":"1.0.0","author":"mrasharirfan","date":"2020-05-07 15:54:41"},"1.1.0":{"tag":"1.1.0","author":"mrasharirfan","date":"2022-06-24 19:40:59"},"1.1.1":{"tag":"1.1.1","author":"mrasharirfan","date":"2023-11-24 20:29:37"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":2300148,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":2300148,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Gutenberg","2":"Classic Editor"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[89,32161,91],"plugin_category":[57],"plugin_contributors":[131866],"plugin_business_model":[],"class_list":["post-121235","plugin","type-plugin","status-publish","hentry","plugin_tags-category","plugin_tags-primary","plugin_tags-taxonomy","plugin_category-taxonomy","plugin_contributors-mrasharirfan","plugin_committers-mrasharirfan"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/simple-primary-category.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-primary-category\/assets\/screenshot-1.jpg?rev=2300148","caption":"Gutenberg"},{"src":"https:\/\/ps.w.org\/simple-primary-category\/assets\/screenshot-2.jpg?rev=2300148","caption":"Classic Editor"}],"raw_content":"<!--section=installation-->\n<ol>\n<li>Download the plugin.<\/li>\n<li>Login to your WordPress website dashboard.<\/li>\n<li>Navigate to Dashboard &gt; Plugins.<\/li>\n<li>Click Add New and then Upload Plugin.<\/li>\n<li>Browse to the file, select it, and click Install Now.<\/li>\n<li>Click Activate Plugin once prompted.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p>= Version 1.1.1\n* Bumped tested up to tag<\/p>\n\n<p>= Version 1.1.0\n* Added dependencies updates\n* Fixed bugs in classic editor\n* Updated code formatting<\/p>\n\n<p>= Version 1.0.0\n* Initial Release<\/p>\n\n<!--section=description-->\n<p>A light-weight WordPress plugin to assign primary category to posts and custom post types.<\/p>\n\n<h3>How to Use<\/h3>\n\n<ol>\n<li>Browse to any post or custom post type in WordPress admin.<\/li>\n<li>Check the taxonomies that you want to assign to it.<\/li>\n<li>Select the respective primary taxonomies.<\/li>\n<li>Save the post.<\/li>\n<li>Use this shortcode to query the posts: <code>spc_primary_term_posts<\/code>.<\/li>\n<li>Use the action hook \u2014 <code>spc_display_primary_term_posts<\/code> \u2014 to display the queried posts in your theme.<\/li>\n<\/ol>","raw_excerpt":"A light-weight WordPress plugin to assign primary category to posts and custom post types.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/121235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=121235"}],"author":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mrasharirfan"}],"wp:attachment":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=121235"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=121235"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=121235"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=121235"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=121235"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=121235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}