{"id":12088,"date":"2011-02-09T15:00:20","date_gmt":"2011-02-09T15:00:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/get-post-list-with-thumbnails\/"},"modified":"2013-08-09T08:38:49","modified_gmt":"2013-08-09T08:38:49","slug":"get-post-list-with-thumbnails","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/get-post-list-with-thumbnails\/","author":7458768,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"10.0.2","stable_tag":"trunk","tested":"3.5.2","requires":"3.1.3","requires_php":"","requires_plugins":"","header_name":"Get Post List With Thumbnails","header_author":"Alvaro Neto","header_description":"","assets_banners_color":"fac4a9","last_updated":"2013-08-09 08:38:49","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.wpworking.com\/","header_plugin_uri":"http:\/\/www.wpworking.com\/","header_author_uri":"http:\/\/wpworking.com\/","rating":4.8,"author_block_rating":0,"active_installs":200,"downloads":35099,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>10.0.2 New feature, exclude posts\n10.0.1 New feature, exclude categories\n10.0.0 New features: orderby Most Commented and Most Accessed posts \/ choose widget title position \/ custom post types support\n9.0.1 Bug fixed on total number of posts\n9.0.0 New option, choose featured image(instead of first image)\n8.0.4 Adjustment for the beta pagination feature\n8.0.3 Bug Fixed on number of posts\n8.0.2 Adjustment to make GPLWT display the image first attached to the post\n8.0.1 Bug fixed on widget registration\n8.0.0 You can choose between displaying posts and pages. Supports displaying excerpt. Beta page navigation feature added\n7.0.0 Supports Multiple Widgets\n6.2.0 Set Custom Field Key and Custom Field Values Type(number or text to combine with DESC or ASC order)\n6.1.0 Workaround for better positioning using shortcodes \/ Random order available\n6.0.0 Supports Order(DESC, ASC) and OrderBy(ID, Date, Title)\n5.0.0 You can suppress thumbnails and target links to a blank page\/tab\n4.0.0 Now you can use the short code [gplt]\nSee it working on http:\/\/www.wpworking.com\/posts-list\/<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"4"},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1003297","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","10.0.0","10.0.1","2.0.0","3.0.0","3.0.1","3.0.2","4.0.0","5.0.0","6.0.0","6.1.0","6.2.0","7.0.0","8.0.0","8.0.1","8.0.2","8.0.3","8.0.4","9.0.0","9.0.1"],"block_files":[],"assets_screenshots":{"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"1566981","resolution":"4","location":"plugin"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1566981","resolution":"2","location":"plugin"},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1566981","resolution":"3","location":"plugin"},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1566981","resolution":"1","location":"plugin"}},"screenshots":{"1":"Posting it on a page as shotcode - live demo on: http:\/\/www.wpworking.com\/posts-list\/","2":"Configuring widget parameters on wp-admin","3":"Registering the widget on wp-admin widget pannel and Making the widget work on a PHP page"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[245,32204,12413,2956],"plugin_category":[50],"plugin_contributors":[81960],"plugin_business_model":[],"class_list":["post-12088","plugin","type-plugin","status-publish","hentry","plugin_tags-list","plugin_tags-list-post","plugin_tags-posts-list","plugin_tags-thumbnails","plugin_category-media","plugin_contributors-alvaron","plugin_committers-alvaron"],"banners":{"banner":"https:\/\/ps.w.org\/get-post-list-with-thumbnails\/assets\/banner-772x250.jpg?rev=1003297","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/get-post-list-with-thumbnails_fac4a9.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/get-post-list-with-thumbnails\/trunk\/screenshot-1.jpg?rev=1566981","caption":"Posting it on a page as shotcode - live demo on: http:\/\/www.wpworking.com\/posts-list\/"},{"src":"https:\/\/ps.w.org\/get-post-list-with-thumbnails\/trunk\/screenshot-2.jpg?rev=1566981","caption":"Configuring widget parameters on wp-admin"},{"src":"https:\/\/ps.w.org\/get-post-list-with-thumbnails\/trunk\/screenshot-3.jpg?rev=1566981","caption":"Registering the widget on wp-admin widget pannel and Making the widget work on a PHP page"},{"src":"https:\/\/ps.w.org\/get-post-list-with-thumbnails\/trunk\/screenshot-4.jpg?rev=1566981","caption":""}],"raw_content":"<!--section=description-->\n<p>Description:Displays a list with posts and custom size thumbnails(for the first attached or featured image), linked to each post permalink. You can configure it as multiple widgets or short code.<\/p>\n\n<p>You can choose(parameters are not required, see screen shot 2) list orientation, display only images, display the post date, date format, display the post title, category, the number of posts, number of registers per line(for horizontal orientation), the table width, the thumbnails dimensions, the table cellpadding and cellspacing and the columns layout. See it working on http:\/\/www.wpworking.com\/posts-list\/<\/p>\n\n<p>Get GPLWT PRO and choose colors and formating!\nhttp:\/\/www.wpworking.com\/shop\/<\/p>\n\n<p>More info about the plugin: http:\/\/www.wpworking.com\/<\/p>\n\n<p>Ask for support on wpworking@wpworking.com<\/p>\n\n<h3>Arbitrary section<\/h3>\n\n<p>Get GPLWT PRO and choose colors and formating!\nhttp:\/\/www.wpworking.com\/shop\/<\/p>\n\n<p>The result div is on div id gplwt_container, table id div_postlist so you can play with css\nConfigure as widget or shortcode<\/p>\n\n<p>Very important: the pagination feature is a beta feature, under development<\/p>\n\n<p>[gplt nocats =\"\" ptype=\"post\" ttpos=\"b\" orient=\"h\" imgo=\"false\" ttgo=\"true\" dtgo=\"true\" dtfrm=\"1\" categ=\"\" postnr=\"100\" linn=\"3\" divwid=\"300\" tbwid=\"90\" tbhig=\"90\" cp=\"4\" cs=\"4\" lwt=\"2\" tte=\"\" sptb=\"false\" tgtb=\"false\" ordm=\"DESC\" ordf=\"ID\" metk=\"\" mett=\"\" pgin=\"\" ptype=\"post\" dexcp=\"false\" gptb=\"false\"]<\/p>\n\n<p>Parameters<\/p>\n\n<p>NoPsts: comma-separated ids from the posts you want to exclude, default=''\nNoCats: comma-separated ids from the categories you want to exclude, default=''\nPost Type: all posts types, singular name, default=posts\nWidget Title Position: b for before, a for after. default =b\nOrientation: orient=\"v\" \/\/ v = Vertical , h = Horizontal default 'v'\nDisplay only images: imgo=\"false\" \/\/ true, false default 'false'\nDisplay post title: ttgo=\"false\" \/\/ true, false default 'false'\nDisplay post date: dtgo=\"false\" \/\/ true, false default 'false'\nDate Format: dtfrm=\"1\" \/\/ 1 - d\/m\/y , 2 - m\/d\/y default '1'\nCategory Slug: categ='' \/\/ leave out or blank for all categories default=''\nNumber of Posts: postnr=\"20\" \/\/default=20\nNumber of registers per line: linn=\"3\" \/\/default=3 only for horizontal orientation\nTable result width: divwid=300 \/\/ default=300\nThumbnails Width: tbwid=\"40\" \/\/default = 40\nThumbnails Height: tbhig=\"40\" \/\/default = 40 \nResult Table Cellpadding: cp=\"4\" \/\/ default= 4\nResult Table Cellspacing: cs=\"4\" \/\/ default= 4\nColumn layout: lwt = 1 \/\/ default= 1\nWidget(or list) title: tte= \"\" \/\/ default=\"\"\nSuppress Thumbnails: sptb=\"false\" \/\/ true, false default 'false'\nTarget links to a blank page\/tab: tgtb=\"false\" \/\/ true, false default 'false'\nOrder: ordm = \"DESC\" \/\/ DESC, ASC default 'DESC'\nOrder By: ordf = \"ID\" \/\/ ID, Date, Title, Random default 'ID'\nCustom Field Key: metk = \"\" \/\/ default ''\nCustom Field Values Type: mett = \"\" \/\/ n(numeric),t(text) default 'n' numeric\nRegisters per Page(beta feature): pgin = \"\" \/\/ default= ''\nPost Type: ptype=\"post\" \/\/ default='post' 'post' or 'page'\nDisplay Excerpt: dexcp=\"false\" \/\/ true, false default 'false'\nGet featured image(instead of first image): gptb=\"false\" \/\/ true, false default 'false'<\/p>\n\n<p>If you have any questions, please let me know  wpworking@wpworking.com<\/p>\n\n<p>This readme file were validated at http:\/\/wordpress.org\/extend\/plugins\/about\/validator\/<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>get_post_list_with_thumbs<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Register a widget sidebar on your functions file, for example, just paste the code below on your theme functions.php(seescreenshot 1)<\/li>\n<\/ol>\n\n<p>\/<em>if ( function_exists('register_sidebar') )\nregister_sidebar(array(\n    'name' =&gt; 'get_post_list_with_thumbs',\n    'before_widget' =&gt; '',\n    'after_widget' =&gt; '',\n    'before_title' =&gt; '',\n    'after_title' =&gt; '',\n));<\/em>\/<\/p>\n\n<p>You if you have already registered any sidebar, you can drag the <code>Get Post List With Thumbnails<\/code> widget inside it, at wp-admin<\/p>\n\n<ol>\n<li>Configure the widget on your wp-admin pannel and save(see screenshot 2)<\/li>\n<li>Use the code bellow where you want the widget ti show, on your theme pages(see screenshot 3)\n\/* if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Get Post List With Thumbnails')) : endif; *\/<\/li>\n<\/ol>\n\n<p>you can use short code: [gplt nocats=\"\" ptype=\"post\" ttpos=\"b\" orient=\"h\" imgo=\"false\" ttgo=\"true\" dtgo=\"true\" dtfrm=\"1\" categ=\"\" postnr=\"100\" linn=\"3\" divwid=\"300\" tbwid=\"90\" tbhig=\"90\" cp=\"4\" cs=\"4\" lwt=\"2\" tte=\"\" sptb=\"false\" tgtb=\"false\" ordm=\"DESC\" ordf=\"ID\" metk=\"\" mett=\"\" pgin=\"\" ptype=\"post\" dexcp=\"false\" gptb=\"false\"]<\/p>\n\n<p>Important: if you want to add featured image instead of the first image, add add_theme_support( 'post-thumbnails' ); to your functions.php file<\/p>\n\n<!--section=faq-->\n<p>If you have any questions, please let me know  wpworking@wpworking.com<\/p>\n\n<p>If some of your thumbnails doesn't show up, it happens because they are linked to older posts\njust upload the image again and link or include in the new post<\/p>\n\n<!--section=changelog-->\n<p>New features:\nexclude comma-separated posts\nexclude comma-separated categories\norderby Most Commented and Most Accessed posts \/ choose widget title position \/ custom post types support\nBug fixed on total number of posts\nAdjustment for the beta pagination feature\nBug Fixed on number of posts\nAdjustment to display the first attached image to the post\nBug Fixed on Widgets Registering\nSupports Multiple Widgets\nSet Custom Field Key and Custom Field Values Type(number or text to combine with DESC or ASC order)\nNew workaround for better positioning using shortcodes\nRandom order available\nYou can call GPLT wherever you want on your posts and pages, using short code<\/p>\n\n<p>[gplt nocats=\"\" ptype=\"post\" ttpos=\"b\" orient=\"h\" imgo=\"false\" ttgo=\"true\" dtgo=\"true\" dtfrm=\"1\" categ=\"\" postnr=\"100\" linn=\"3\" divwid=\"300\" tbwid=\"90\" tbhig=\"90\" cp=\"4\" cs=\"4\" lwt=\"2\" tte=\"\" sptb=\"false\" tgtb=\"false\" ordm=\"DESC\" ordf=\"ID\" metk=\"\" mett=\"\" pgin=\"\" ptype=\"post\" dexcp=\"false\"]<\/p>\n\n<p>Parameters<\/p>\n\n<p>NoPsts: comma-separated ids from the posts you want to exclude, default=''\nNoCats: comma-separated ids from the categories you want to exclude, default=''\nPost Type: all posts types, singular name, default=posts\nWidget Title Position: b for before, a for after. default =b\nOrientation: orient=\"v\" \/\/ v = Vertical , h = Horizontal default 'v'\nDisplay only images: imgo=\"false\" \/\/ true, false default 'false'\nDisplay post title: ttgo=\"false\" \/\/ true, false default 'false'\nDisplay post date: dtgo=\"false\" \/\/ true, false default 'false'\nDate Format: dtfrm=\"1\" \/\/ 1 - d\/m\/y , 2 - m\/d\/y default '1'\nCategory Slug: categ='' \/\/ leave out or blank for all categories default=''\nNumber of Posts: postnr=\"20\" \/\/default=20\nNumber of registers per line: linn=\"3\" \/\/default=3 only for horizontal orientation\nTable result width: divwid=300 \/\/ default=300\nThumbnails Width: tbwid=\"40\" \/\/default = 40\nThumbnails Height: tbhig=\"40\" \/\/default = 40 \nResult Table Cellpadding: cp=\"4\" \/\/ default= 4\nResult Table Cellspacing: cs=\"4\" \/\/ default= 4\nColumn layout: lwt = 1 \/\/ default= 1\nWidget(or list) title: tte= \"\" \/\/ default=\"\"\nSuppress Thumbnails: sptb=\"false\" \/\/ true, false default 'false'\nTarget links to a blank page\/tab: tgtb=\"false\" \/\/ true, false default 'false' \nOrder: ordm = \"DESC\" \/\/ DESC, ASC default 'DESC'\nOrder By: ordf = \"ID\" \/\/ ID, Date, Title, Random default 'ID'\nCustom Field Key: metk = \"\" \/\/ default ''\nCustom Field Values Type: mett = \"\" \/\/ n(numeric),t(text) default 'n' numeric\nRegisters per Page(beta feature): pgin = \"\" \/\/ default= ''\nPost Type: ptype=\"post\" \/\/ default='post' 'post' or 'page'\nDisplay Excerpt: dexcp=\"false\" \/\/ true, false default 'false'\nGet featured image(instead of first image): gptb=\"false\" \/\/ true, false default 'false'<\/p>","raw_excerpt":"Description:Displays a list with posts and custom size thumbnails(for the first attached or featured image), linked to each post permalink.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/12088","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=12088"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/alvaron"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=12088"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=12088"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=12088"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=12088"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=12088"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=12088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}