{"id":10957,"date":"2010-10-23T17:09:15","date_gmt":"2010-10-23T17:09:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/custom-post-type-list-widget\/"},"modified":"2011-02-18T15:58:51","modified_gmt":"2011-02-18T15:58:51","slug":"custom-post-type-list-widget","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/custom-post-type-list-widget\/","author":4658289,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1","stable_tag":"1.1","tested":"3.1.4","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Custom Post Type List Widget","header_author":"Keith P. Graham","header_description":"","assets_banners_color":"","last_updated":"2011-02-18 15:58:51","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.amazon.com\/gp\/product\/1456336584?ie=UTF8&tag=thenewjt30page&linkCode=as2&camp=1789&creative=390957&creativeASIN=1456336584","header_plugin_uri":"http:\/\/www.blogseye.com","header_author_uri":"http:\/\/www.blogseye.com","rating":3,"author_block_rating":0,"active_installs":400,"downloads":11416,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","other_notes"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.5","0.6","0.7","0.8","0.9","1.0","1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1794,245,168,162],"plugin_category":[43],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-10957","plugin","type-plugin","status-closed","hentry","plugin_tags-custom-post-type","plugin_tags-list","plugin_tags-sidebar","plugin_tags-widget","plugin_category-customization","plugin_committers-kpgraham"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/custom-post-type-list-widget.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The Custom Post Type List Widget places a list of your custom post type entries in the sidebar widget, or a WordPress Shortcode can be included on any page or post.<\/p>\n\n<p>This is similar to the standard Pages or Recent Posts widget, but with the option to display Custom Post Types.<\/p>\n\n<p>All options work on standard Page and Post entries as well as custom post types.<\/p>\n\n<p>Note: This widget does not create custom post types. There are many good widgets to create and manage custom post types. Use a Custom Post Type Widget to create your custom post type before using this widget.<\/p>\n\n<p>The widget can appear multiple times in the sidebar for different Custom Post Types or different options.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin.<\/li>\n<li>Upload the plugin to your wp-content\/plugins directory.<\/li>\n<li>Activate the plugin (all configuration is done through the widget).<\/li>\n<li>Drag the widget to a sidebar.<\/li>\n<li>Edit the sidebar title if needed.<\/li>\n<li>Select the Custom Post Type<\/li>\n<li>Select the count of lines to display. This can be All, a number, or a date period for recent entries.<\/li>\n<li>Select sort order. This can be Alphabetically, Date, Comment Count, Author, Menu order, or random. Choosing random will select the posts randomly.<\/li>\n<li>Enter the display type as unordered, dropdown List, or simple text with line breaks.<\/li>\n<li>Save<\/li>\n<\/ol>\n\n<p>You can alternatively include a shortcode on any page to show the list. The options are the same as for the widget.\n[custpost post_type=\"\" trunc=\"\" pformat=\"\" title=\"\" count=\"\" orderby=\"\"] \n  * post_type=post, page or a valid custom post type\n  * title=title above list\n  * count=max number of items (use -1 to display all), also valid values are 'day' for today, 'day1', 'day2', etc. to display posts from the last n days.\n  * trunc=default true - shorten long titles to 32 characters, false use long titles. \n  * pformat=post formatting options, either br (simple list), drop (dropdown list), ul (unordered list)\n  * orderby=order of posts (valid sql order by clauses).\nValid order values:\n    * post_date\n    * post_date desc\n    * upper(post_title)\n    * comment_count desc,post_date desc\n    * upper(post_author), upper(post_title)\n    * upper(post_author), post_date desc\n    * random - randmomize list each time displayed.<\/p>\n\n<!--section=changelog-->\n<h4>0.5<\/h4>\n\n<ul>\n<li>initial test release<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>Added ability to show Custom Post Type description. Added the ablity to show just one random post.<\/li>\n<\/ul>\n\n<h4>0.7<\/h4>\n\n<ul>\n<li>Fixed a problem with drop downs unable to select first item.<\/li>\n<\/ul>\n\n<h4>0.8<\/h4>\n\n<ul>\n<li>added shortcode. Made long title truncation optional.<\/li>\n<\/ul>\n\n<h4>0.9<\/h4>\n\n<ul>\n<li>added current_page_item class if same page id as current page.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>fixed issue with current_page_class.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fixed short code count parameter<\/li>\n<\/ul>\n\n<!--section=other_notes-->\n<h3>Support<\/h3>\n\n<p>This plugin is in active development. All feedback is welcome on \"<a href=\"http:\/\/www.blogseye.com\/\" title=\"Wordpress plugin: Custom Post Type List Widget\">program development pages<\/a>\".<\/p>\n\n<p>If you find this plugin useful and you wish to support me, you can buy my book of short stories (cheap) <a href=\"http:\/\/www.amazon.com\/gp\/product\/1456336584?ie=UTF8&amp;tag=thenewjt30page&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1456336584\">Error Message Eyes: A Programmer's Guide to the Digital Soul<\/a><\/p>\n\n<p>At the very least please visit my websites and, if appropriate, add a link to one on your blog: \n<a href=\"http:\/\/www.blogseye.com\">Blog&apos;s Eye<\/a> (My Wordpress Plugins and other PHP coding projects) <br \/>\n<a href=\"http:\/\/www.cthreepo.com\/blog\">Wandering Blog <\/a>(My personal Blog) <br \/>\n<a href=\"http:\/\/www.jt30.com\">The JT30 Page<\/a> (Amplified Blues Harmonica) <br \/>\n<a href=\"http:\/\/www.harpamps.com\">Harp Amps<\/a> (Vacuum Tube Amplifiers for Blues) <br \/>\n<a href=\"http:\/\/www.westnyackhoney.com\">My Beekeeping site<\/a><\/p>","raw_excerpt":"Displays a list of Custom Posts Type entries in a sidebar.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/10957","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=10957"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kpgraham"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=10957"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=10957"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=10957"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=10957"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=10957"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=10957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}