{"id":25529,"date":"2013-10-05T20:56:59","date_gmt":"2013-10-05T20:56:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/switch-last-posts-widget\/"},"modified":"2013-12-11T20:39:18","modified_gmt":"2013-12-11T20:39:18","slug":"switch-last-posts-widget","status":"publish","type":"plugin","link":"https:\/\/th.wordpress.org\/plugins\/switch-last-posts-widget\/","author":13116751,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"3.6.1","requires":"3.6.1","requires_php":"","requires_plugins":"","header_name":"Switch Last Posts Widget","header_author":"LordPretender","header_description":"","assets_banners_color":"","last_updated":"2013-12-11 20:39:18","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=VHW4LZC74FQ94","header_plugin_uri":"http:\/\/www.my-wp-plugins.com\/Forum-switch-last-posts-widget.html","header_author_uri":"http:\/\/www.duy-pham.fr","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1641,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[29242,1083,2414,162],"plugin_category":[43],"plugin_contributors":[84710],"plugin_business_model":[],"class_list":["post-25529","plugin","type-plugin","status-publish","hentry","plugin_tags-last-posts","plugin_tags-recent-posts","plugin_tags-switch","plugin_tags-widget","plugin_category-customization","plugin_contributors-lordpretender","plugin_committers-lordpretender"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/switch-last-posts-widget.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Based on the native \"Recent Posts\" widget, this one displays the recent posts accord the root category of the current post (or category).<\/p>\n\n<p>You will have to define a main and secondary category.\nBy default, the main one is used to display the latest posts. If visitors are not currently in the secondary (or sub-categories), then it is this one which is used.<\/p>\n\n<p>This widget is interresting when you have 2 different categories (with no linked subject) and you want to display the latest posts of the other category, rather than display all (or from the current one).<\/p>\n\n<h3>Configuration<\/h3>\n\n<p>The parameters are the same as the native widget, with the addition of :<\/p>\n\n<ul>\n<li>Main category ID ;<\/li>\n<li>Secondary category ID.<\/li>\n<\/ul>\n\n<p>You will have to enter categories ID (only one per field).<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload folder into to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use your 'Presentation'\/'Sidebar Widgets' settings to drag and configure<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Support link added.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>The first version of the plugin.<\/li>\n<\/ul>","raw_excerpt":"A widget which displays the latest posts according the current category.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=25529"}],"author":[{"embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lordpretender"}],"wp:attachment":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25529"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25529"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25529"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25529"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25529"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}