{"id":3373,"date":"2008-07-27T09:23:50","date_gmt":"2008-07-27T09:23:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/list-drafts-widget\/"},"modified":"2017-11-09T18:57:46","modified_gmt":"2017-11-09T18:57:46","slug":"list-drafts-widget","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/list-drafts-widget\/","author":20841,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.5","stable_tag":"2.5","tested":"4.9.29","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"List Drafts Widget","header_author":"Les Bessant","header_description":"","assets_banners_color":"","last_updated":"2017-11-09 18:57:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/losingit.me.uk\/2010\/03\/14\/list-drafts-widget-revisited","header_author_uri":"http:\/\/losingit.me.uk\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":2626,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","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.3","2.0","2.0.1","2.1","2.1.1","2.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1762202","resolution":"1","location":"plugin","width":369,"height":187},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1762202","resolution":"2","location":"plugin","width":264,"height":158}},"screenshots":{"1":"Widget configuration options","2":"Sample output"}},"plugin_section":[],"plugin_tags":[4665,2871,168,162],"plugin_category":[43],"plugin_contributors":[81016],"plugin_business_model":[],"class_list":["post-3373","plugin","type-plugin","status-closed","hentry","plugin_tags-draft","plugin_tags-drafts","plugin_tags-sidebar","plugin_tags-widget","plugin_category-customization","plugin_contributors-lesbessant","plugin_committers-lesbessant"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/list-drafts-widget.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/list-drafts-widget\/trunk\/screenshot-1.png?rev=1762202","caption":"Widget configuration options"},{"src":"https:\/\/ps.w.org\/list-drafts-widget\/trunk\/screenshot-2.png?rev=1762202","caption":"Sample output"}],"raw_content":"<!--section=description-->\n<p>List Drafts is a simple sidebar widget which outputs a list of the titles of all posts currently saved as drafts. Users can set the title of the widget, and add a label to be used for all untitled drafts.<\/p>\n\n<p>You can now have a list of forthcoming items as a \"teaser\" for your readers, or as a reminder to authors that they really need to finish those posts they started. It will probably not be of interest to many people, but I like it.<\/p>\n\n<p>This version has been refactored to use the new plugins API introduced in WordPress 2.8<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the 'list-drafts-widget' folder to your '\/wp-content\/plugins\/ directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Add the widget to your sidebar or other widget-enabled area in the usual way. 4. (Optional) Change the title and the text used for any untitled drafts - the default values are \"Coming Soon\" and \"An untitled post\"<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the 'list-drafts-widget' folder to your '\/wp-content\/plugins\/ directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Add the widget to your sidebar or other widget-enabled area in the usual way. 4. (Optional) Change the title and the text used for any untitled drafts - the default values are \"Coming Soon\" and \"An untitled post\"<\/li>\n<\/ol><\/dd>\n<dt>Does this have to be in the sidebar?<\/dt>\n<dd><p>This is a pure widget, so it can only be used in a sidebar or other widget-enabled area of your theme.<\/p>\n\n<p>My older <a href=\"http:\/\/wordpress.org\/extend\/plugins\/list-draft-posts\/\">List Draft Posts<\/a> plugin allows you to insert the list of drafts without resort to widgets. Please note that I won't be developing that plugin any more.<\/p><\/dd>\n<dt>Can it do this or that?<\/dt>\n<dd><p>Err, maybe. But that would be a job for a better coder. Anyone who wants to make their own version is more than welcome to do so.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.5<\/h4>\n\n<ul>\n<li>Changed constructor for PHP 7 compatibility <\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Minor edits, confirming compatibility with WordPress 4.0<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>Bugfix: As menu items are a special kind of post, and can have a status of \"Draft\", under some circumstances these would be picked up as untitled posts by the widget. This version now checks for 'post_type' being \"post\", which will prevent this behaviour.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Changed default widget title to \"Coming Soon\"<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Re-written to use the new Widget API introduced with WordPress 2.8. Otherwise unchanged.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>First released version<\/li>\n<\/ul>","raw_excerpt":"Outputs an unordered list of the titles of saved draft posts in a sidebar widget.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=3373"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lesbessant"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3373"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3373"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3373"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3373"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3373"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}