{"id":54974,"date":"2017-03-09T12:22:25","date_gmt":"2017-03-09T12:22:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/recent-posts-shortcode-widget\/"},"modified":"2018-03-14T21:13:44","modified_gmt":"2018-03-14T21:13:44","slug":"recent-posts-shortcode-widget","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/recent-posts-shortcode-widget\/","author":15342939,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.8","stable_tag":"trunk","tested":"4.9.29","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Recent Posts Shortcode & Widget","header_author":"rajros","header_description":"","assets_banners_color":"81c8df","last_updated":"2018-03-14 21:13:44","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/rahul841984.wixsite.com\/rajros","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/recent-posts-shortcode-widget\/","header_author_uri":"https:\/\/profiles.wordpress.org\/rajros","rating":5,"author_block_rating":0,"active_installs":300,"downloads":12747,"num_ratings":6,"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":"6"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1840317","resolution":"128x128","location":"assets"}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1616956","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1","1.2","1.3","1.4","1.5","1.6","1.7"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1616956","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1616956","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1616956","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1616956","resolution":"4","location":"assets"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1618195","resolution":"5","location":"assets"},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"1616956","resolution":"6","location":"assets"}},"screenshots":{"1":"This displays list of posts on a page","2":"This displays list of posts in sidebar\/widgets","3":"Basic shortcode to display posts","4":"Shortcodes with multiple options\/filter like category, date, excerpt length etc","5":"For displaying in sidebar"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4978,133558,166,1083,133134],"plugin_category":[43],"plugin_contributors":[133135],"plugin_business_model":[],"class_list":["post-54974","plugin","type-plugin","status-publish","hentry","plugin_tags-latest-posts","plugin_tags-latest-posts-shortcode","plugin_tags-posts","plugin_tags-recent-posts","plugin_tags-recent-posts-shortcode","plugin_category-customization","plugin_contributors-rajros","plugin_committers-rajros"],"banners":{"banner":"https:\/\/ps.w.org\/recent-posts-shortcode-widget\/assets\/banner-772x250.jpg?rev=1616956","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/recent-posts-shortcode-widget\/assets\/icon-128x128.png?rev=1840317","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/recent-posts-shortcode-widget\/assets\/screenshot-1.png?rev=1616956","caption":"This displays list of posts on a page"},{"src":"https:\/\/ps.w.org\/recent-posts-shortcode-widget\/assets\/screenshot-2.png?rev=1616956","caption":"This displays list of posts in sidebar\/widgets"},{"src":"https:\/\/ps.w.org\/recent-posts-shortcode-widget\/assets\/screenshot-3.png?rev=1616956","caption":"Basic shortcode to display posts"},{"src":"https:\/\/ps.w.org\/recent-posts-shortcode-widget\/assets\/screenshot-4.png?rev=1616956","caption":"Shortcodes with multiple options\/filter like category, date, excerpt length etc"},{"src":"https:\/\/ps.w.org\/recent-posts-shortcode-widget\/assets\/screenshot-5.png?rev=1618195","caption":"For displaying in sidebar"},{"src":"https:\/\/ps.w.org\/recent-posts-shortcode-widget\/assets\/screenshot-6.png?rev=1616956","caption":""}],"raw_content":"<!--section=description-->\n<p>The \"Recent Posts Shortcode &amp; Widget\" helps users to easily display latest posts in a page or in sidebar by just using simple shortcode [recentposts-sc] \nBy default it displays \"latest posts\" or \"recent posts\" which can be changed to display \"random posts\", display by 'title' etc using 'orderby'.<\/p>\n\n<h4>Options and Features Includes<\/h4>\n\n<p>All Parameters\/Shortcodes can be seen in FAQ: \n*  <a href=\"https:\/\/wordpress.org\/plugins\/recent-posts-shortcode-widget\/faq\/\">FAQ<\/a><\/p>\n\n<ul>\n<li>Featured Image<\/li>\n<li>Auto generates and adds featured image using first image of the post if no featured image is found<\/li>\n<li>Custom excerpt length<\/li>\n<li>Limit number of posts<\/li>\n<li>Posts from specific category<\/li>\n<li>Posts from multiple categories (comma separated)<\/li>\n<li>Posts from specific author<\/li>\n<li>Post type option<\/li>\n<li>Order\/Display by date, name etc.<\/li>\n<li>Display post date.<\/li>\n<li>Display specific posts using post IDS (comma separated)<\/li>\n<li>Display\/filter posts by tag<\/li>\n<li>Display\/filter posts by meta key and meta values<\/li>\n<li>Custom \"Read more\" label option.<\/li>\n<li>Display default\/custom image size instead of featured image (like thumbnail, medium etc)<\/li>\n<\/ul>\n\n<h4>How to Use<\/h4>\n\n<ul>\n<li>Basic: [recentposts-sc] (by default 3 latest posts)<\/li>\n<li>For sidebar also use [recentposts-sc] in text widgets (refer screenshots as well for further help)<\/li>\n<\/ul>\n\n<p><strong>Advanced Parameters:<\/strong><\/p>\n\n<ul>\n<li><p><strong>numberofposts (Number of posts)<\/strong>\nLimit\/Specify the number of posts you want to display\nDefault: 3\nExample: [recentposts-sc numberofposts=\"6\"]<\/p><\/li>\n<li><p><strong>post_type (Post Type)<\/strong> \nSpecify which post type you want to use. For example posts or pages\nDefault type: post\nExample: [recentposts-sc post_type=\"page\"]<\/p><\/li>\n<li><p><strong>get_cat_name (Category Name)<\/strong>\nIf you want to display category name in list of posts\nDefault: False\nExample: [recentposts-sc get_cat_name=\"true\"]<\/p><\/li>\n<li><p><strong>excerptlength (Custom Excerpt Length)<\/strong>\nDefine custom excerpt length\nExample: [recentposts-sc excerptlength=\"30\"]<\/p><\/li>\n<li><p><strong>enable_excerpt (Show\/hide Excerpt display)<\/strong> \nSometimes you may not want to display excerpt and only like to keep title and image. To turn off\/disable excerpts use enable_excerpt=\"false\" (default is true)\nExample: [recentposts-sc enable_excerpt=\"false\"]<\/p><\/li>\n<li><p><strong>image_size (Display default\/custom image size instead of featured image)<\/strong> \nSelect image size like thumbnail, medium etc (by default featured image is displayed)\nuse image_size (default is false)\nExample: [recentposts-sc image_size=\"thumbnail\"] or [recentposts-sc image_size=\"medium\"]\nYou can also use any custom image size if present in your website.<\/p><\/li>\n<li><p><strong>category (Posts from specific Category\/categories)<\/strong> \nFilter posts from single category or multiple categories\nExample single category: [recentposts-sc category=\"lesson\"]\nExample multiple categories: [recentposts-sc category=\"lesson,lesson2,lesson3\"]<\/p><\/li>\n<li><p><strong>author (Posts from specific author)<\/strong> \nFilter posts from specific author\nExample: [recentposts-sc author=\"admin\"]<\/p><\/li>\n<\/ul>\n\n<p>More Parameters\/Shortcodes can be seen in FAQ: \n*  <a href=\"https:\/\/wordpress.org\/plugins\/recent-posts-shortcode-widget\/faq\/\">FAQ<\/a>.<\/p>\n\n<h4>Support<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/wordpress.org\/support\/plugin\/recent-posts-shortcode-widget\">Forum support<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/support\/view\/plugin-reviews\/recent-posts-shortcode-widget\">Rate\/Review the plugin<\/a><\/li>\n<\/ul>\n\n<blockquote>\n  <p>Developed by rajros<\/p>\n<\/blockquote>\n\n<!--section=installation-->\n<h4>Automatic Installation<\/h4>\n\n<ol>\n<li>Log in to WordPress admin panel and go to Plugins -&gt; Add New<\/li>\n<li>Type 'Recent Posts Shortcode &amp; Widget' in the search box and click on search button.<\/li>\n<li>From the search results find 'Recent Posts Shortcode &amp; Widget' plugin.<\/li>\n<li>Click on \"Install Now\"<\/li>\n<li>Once installed click on \"activate\" button\/link to activate the plugin.<\/li>\n<li>Add the shortcode [recentposts-sc] to a page\/post or in text widget for sidebar.<\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Download the plugin from the wordpress plugin page.<\/li>\n<li>Unzip the plugin and upload \"recentpostssc\" folder into your plugins directory.<\/li>\n<li>Log in to WordPress admin panel and click the Plugins menu.<\/li>\n<li>From the list of plugins on the plugin page find \"Recent Posts Shortcode &amp; Widget\" plugin and then click to activate the plugin.<\/li>\n<li>Add the shortcode [recentposts-sc] to a page\/post or in text widget for sidebar.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<ul>\n<li>Basic: [recentposts-sc] (by default 3 latest posts)<\/li>\n<li><p>For sidebar also use [recentposts-sc] in text widgets (refer screenshots as well for further help)<\/p><\/li>\n<li><p>Advanced Parameters:<\/p><\/li>\n<li><p><strong>numberofposts (Number of posts)<\/strong>\nLimit\/Specify the number of posts you want to display\nDefault: 3\nExample: [recentposts-sc numberofposts=\"6\"]<\/p><\/li>\n<li><p><strong>post_type (Post Type)<\/strong> \nSpecify which post type you want to use. For example posts or pages\nDefault type: post\nExample: [recentposts-sc post_type=\"page\"]<\/p><\/li>\n<li><p><strong>get_cat_name (Category Name)<\/strong>\nIf you want to display category name in list of posts\nDefault: False\nExample: [recentposts-sc get_cat_name=\"true\"]<\/p><\/li>\n<li><p><strong>excerptlength (Custom Excerpt Length)<\/strong>\nDefine custom excerpt length\nExample: [recentposts-sc excerptlength=\"30\"]<\/p><\/li>\n<li><p><strong>enable_excerpt (Show\/hide Excerpt display)<\/strong> \nSometimes you may not want to display excerpt and only like to keep title and image. To turn off\/disable excerpts use enable_excerpt=\"false\" (default is true)\nExample: [recentposts-sc enable_excerpt=\"false\"]<\/p><\/li>\n<li><p><strong>image_size (Display default\/custom image size instead of featured image)<\/strong> \nSelect image size like thumbnail, medium etc (by default featured image is displayed)\nuse image_size (default is false)\nExample: [recentposts-sc image_size=\"thumbnail\"] or [recentposts-sc image_size=\"medium\"]\nYou can also use any custom image size if present in your website.<\/p><\/li>\n<li><p><strong>category (Posts from specific Category\/categories)<\/strong> \nFilter posts from single category or multiple categories\nExample single category: [recentposts-sc category=\"lesson\"]\nExample multiple categories: [recentposts-sc category=\"lesson,lesson2,lesson3\"]<\/p><\/li>\n<li><p><strong>author (Posts from specific author)<\/strong> \nFilter posts from specific author\nExample: [recentposts-sc author=\"admin\"]<\/p><\/li>\n<li><p><strong>label (Custom label for \"Read More\")<\/strong>\nApply your own custom read more label\nExample: [recentposts-sc excerpt_more=\"true\" label=\"Keep Reading...\"]<\/p><\/li>\n<li><p><strong>after and before (Filter Posts between specific dates)<\/strong> \nExample : [recentposts-sc after=\"January 5th, 2015\"]\nThis will display only posts which is published after Januray 5th, 2015<\/p><\/li>\n<\/ul>\n\n<p>Example : [recentposts-sc before=\"October 6th, 2015\"]\nThis will display only posts which is published before Januray 5th, 2015<\/p>\n\n<p>Example : [recentposts-sc after=\"January 5th, 2015\" before=\"October 6th, 2015\"]\nThis will display only posts which is published between Januray 5th, 2015 and October 6th, 2015<\/p>\n\n<ul>\n<li><p><strong>include_author (Display author name and link)<\/strong> \nExample: [recentposts-sc include_author=\"true\"]<\/p><\/li>\n<li><p><strong>orderby (Order posts by name, title, date etc)<\/strong>\nExample: [recentposts-sc orderby=\"name\"]\nInstead of recent posts you can display random posts\nExample: [recentposts-sc orderby=\"rand\"]<\/p><\/li>\n<li><p><strong>order (Order posts in ascending or descending order)<\/strong>\nExample: [recentposts-sc order=\"DSC\"]<\/p><\/li>\n<li><p><strong>post_ids (List only specific posts by their IDs)<\/strong>\nExample: [recentposts-sc post_ids=\"181,189,194\"]<\/p><\/li>\n<li><p><strong>offset (Offset\/skip posts)<\/strong> \nExample: [recentposts-sc offset=\"1\"]<\/p><\/li>\n<li><p><strong>tag (Filter posts containing specific tags only)<\/strong>\nExample: [recentposts-sc tag=\"lesson1,lesson2,lesson\"]<\/p><\/li>\n<li><p><strong>meta_key(Filter posts on meta_key)<\/strong>\nExample: [recentposts-sc meta_key=\"size\"]<\/p><\/li>\n<li><p><strong>meta_value(Filter posts by meta values)<\/strong>\nExample: [recentposts-sc meta_value=\"small, medium\"]<\/p><\/li>\n<li><p><strong>show_image(default is true. To hide images use false)<\/strong>\nExample: [show_image=\"false\"]<\/p><\/li>\n<li><ul>\n<li>Combination of several parameters: * * \n[recentposts-sc numberofposts=\"7\" post_type=\"post\" get_cat_name=\"true\" category=\"lesson\" author=\"admin\" excerpt_more=\"true\" label=\"Read More...\" after=\"January 5th, 2015\" before=\"October 6th, 2015\"  include_author=\"true\" orderby=\"name\" order=\"DSC\"  excerptlength=30 post_ids=\"181,189,194\" offset=\"0\" tag=\"lesson1,lesson2,lesson\" meta_key=\"size\" meta_value=\"small, medium\"]<\/li>\n<\/ul><\/li>\n<\/ul>\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><h4>Automatic Installation<\/h4>\n\n<ol>\n<li>Log in to WordPress admin panel and go to Plugins -&gt; Add New<\/li>\n<li>Type 'Recent Posts Shortcode &amp; Widget' in the search box and click on search button.<\/li>\n<li>From the search results find 'Recent Posts Shortcode &amp; Widget' plugin.<\/li>\n<li>Click on \"Install Now\"<\/li>\n<li>Once installed click on \"activate\" button\/link to activate the plugin.<\/li>\n<li>Add the shortcode [recentposts-sc] to a page\/post or in text widget for sidebar.<\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Download the plugin from the wordpress plugin page.<\/li>\n<li>Unzip the plugin and upload \"recentpostssc\" folder into your plugins directory.<\/li>\n<li>Log in to WordPress admin panel and click the Plugins menu.<\/li>\n<li>From the list of plugins on the plugin page find \"Recent Posts Shortcode &amp; Widget\" plugin and then click to activate the plugin.<\/li>\n<li>Add the shortcode [recentposts-sc] to a page\/post or in text widget for sidebar.<\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p><strong>Version 1.8<\/strong>\n* Option to show\/hide images using show_image. Tested upto wordpress version 4.9.4<\/p>\n\n<p><strong>Version 1.7<\/strong>\n* Option to show\/hide images using show_image. Tested upto wordpress version 4.9.1<\/p>\n\n<p><strong>Version 1.6<\/strong><\/p>\n\n<ul>\n<li>Fixed some css issues while selecting thumbnail, medium images etc<\/li>\n<\/ul>\n\n<p><strong>Version 1.5<\/strong><\/p>\n\n<ul>\n<li>Added feature to display default\/custom image size instead of featured image (like thumbnail, medium etc)<\/li>\n<\/ul>\n\n<p><strong>Version 1.4<\/strong><\/p>\n\n<ul>\n<li>Added feature to hide\/show excerpt<\/li>\n<\/ul>\n\n<p><strong>Version 1.3<\/strong><\/p>\n\n<ul>\n<li>Fixed issue with featured image<\/li>\n<\/ul>\n\n<p><strong>Version 1.2<\/strong><\/p>\n\n<ul>\n<li>Fixed display issue in sidebar <\/li>\n<\/ul>\n\n<p><strong>Version 1.1<\/strong><\/p>\n\n<ul>\n<li>This version is first release of the plugin.<\/li>\n<\/ul>","raw_excerpt":"Display list of recent posts and latest posts or random posts using the [recentposts-sc] shortcode in any page or in sidebar widgets.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/54974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=54974"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rajros"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=54974"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=54974"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=54974"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=54974"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=54974"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=54974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}