{"id":326,"date":"2012-12-06T10:46:35","date_gmt":"2012-12-06T10:46:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/recent-posts-widget-extended\/"},"modified":"2023-07-31T05:43:22","modified_gmt":"2023-07-31T05:43:22","slug":"recent-posts-widget-extended","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/recent-posts-widget-extended\/","author":6185420,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.2","stable_tag":"2.0.2","tested":"6.1.10","requires":"5.8","requires_php":"7.2","requires_plugins":null,"header_name":"Recent Posts Widget Extended","header_author":"Ga Satrya","header_description":"","assets_banners_color":"3384ca","last_updated":"2023-07-31 05:43:22","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/github.com\/sponsors\/gasatrya","header_plugin_uri":"https:\/\/github.com\/gasatrya\/recent-posts-widget-extended","header_author_uri":"https:\/\/gasatrya.dev\/","rating":4.7,"author_block_rating":0,"active_installs":70000,"downloads":1718757,"num_ratings":160,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.9.9.1":{"tag":"0.9.9.1","author":"satrya","date":"2015-07-12 08:00:31"},"0.9.9.2":{"tag":"0.9.9.2","author":"satrya","date":"2015-08-13 18:34:51"},"0.9.9.3":{"tag":"0.9.9.3","author":"satrya","date":"2015-09-19 14:40:14"},"0.9.9.4":{"tag":"0.9.9.4","author":"satrya","date":"2015-11-09 14:29:56"},"0.9.9.5":{"tag":"0.9.9.5","author":"satrya","date":"2015-11-09 14:33:29"},"0.9.9.6":{"tag":"0.9.9.6","author":"satrya","date":"2016-07-09 18:44:14"},"0.9.9.7":{"tag":"0.9.9.7","author":"satrya","date":"2019-02-18 09:15:05"},"1.0.0":{"tag":"1.0.0","author":"idenovasi","date":"2021-02-17 15:37:08"},"1.1.0":{"tag":"1.1.0","author":"idenovasi","date":"2021-10-25 14:50:05"},"2.0":{"tag":"2.0","author":"satrya","date":"2022-09-22 18:23:12"},"2.0.1":{"tag":"2.0.1","author":"satrya","date":"2022-09-28 14:33:53"},"2.0.2":{"tag":"2.0.2","author":"satrya","date":"2023-07-31 05:43:22"}},"upgrade_notice":[],"ratings":{"1":3,"2":3,"3":8,"4":12,"5":134},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2619497,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2619497,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2619497,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2619497,"resolution":"772x250","location":"assets","locale":"","width":773,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.9.9.1","0.9.9.2","0.9.9.3","0.9.9.4","0.9.9.5","0.9.9.6","0.9.9.7","1.0.0","1.1.0","2.0","2.0.1","2.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2788821,"resolution":"1","location":"assets","locale":"","width":796,"height":728},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2788821,"resolution":"2","location":"assets","locale":"","width":1003,"height":685},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2788821,"resolution":"3","location":"assets","locale":"","width":916,"height":166},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2791362,"resolution":"4","location":"assets","locale":"","width":1912,"height":904}},"screenshots":{"1":"Classic widget","2":"Block widget","3":"Shortcode","4":"Siteorigin page builder"}},"plugin_section":[],"plugin_tags":[1086,4965,1083,2956,162],"plugin_category":[43,50,57],"plugin_contributors":[80541],"plugin_business_model":[],"class_list":["post-326","plugin","type-plugin","status-closed","hentry","plugin_tags-popular-posts","plugin_tags-random-posts","plugin_tags-recent-posts","plugin_tags-thumbnails","plugin_tags-widget","plugin_category-customization","plugin_category-media","plugin_category-taxonomy","plugin_contributors-satrya","plugin_committers-satrya"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/recent-posts-widget-extended_3384ca.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/recent-posts-widget-extended\/assets\/screenshot-1.png?rev=2788821","caption":"Classic widget"},{"src":"https:\/\/ps.w.org\/recent-posts-widget-extended\/assets\/screenshot-2.png?rev=2788821","caption":"Block widget"},{"src":"https:\/\/ps.w.org\/recent-posts-widget-extended\/assets\/screenshot-3.png?rev=2788821","caption":"Shortcode"},{"src":"https:\/\/ps.w.org\/recent-posts-widget-extended\/assets\/screenshot-4.png?rev=2791362","caption":"Siteorigin page builder"}],"raw_content":"<!--section=description-->\n<h4>Plugin description<\/h4>\n\n<p>This plugin will enable a custom, flexible and advanced recent posts, you can display it via shortcode or widget. Allows you to display a list of the most recent posts with thumbnail, excerpt and post date, also you can display it from all or specific or multiple taxonomy, post type and much more!<\/p>\n\n<h4>Support this project<\/h4>\n\n<p>If you are enjoying this plugin. I would appreciate a cup of coffee to help me keep coding and supporting the project! <a href=\"https:\/\/github.com\/sponsors\/gasatrya\">Support &amp; donate<\/a>.<\/p>\n\n<h4>Features Include<\/h4>\n\n<ul>\n<li>Display by date, comment count or random.<\/li>\n<li>Enable thumbnails, with customizable size and alignment.<\/li>\n<li>Enable excerpt, with customizable length.<\/li>\n<li>Display from all, specific or multiple category or tag.<\/li>\n<li>Enable post date.<\/li>\n<li>Display modification date.<\/li>\n<li>Display comment count.<\/li>\n<li>Post type support.<\/li>\n<li>Taxonomy support.<\/li>\n<li>Post status.<\/li>\n<li>Custom HTML or text before and\/or after recent posts.<\/li>\n<li><strong>Shortcode feature<\/strong>.<\/li>\n<li>Crop image on the fly.<\/li>\n<li>Enable Read more.<\/li>\n<li>Custom CSS.<\/li>\n<li>Multiple widgets.<\/li>\n<li>Available filter for developer.<\/li>\n<\/ul>\n\n<h4>Links<\/h4>\n\n<ul>\n<li>Translate to <a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/recent-posts-widget-extended\/\">your language<\/a>.<\/li>\n<li>Contribute or submit issues on <a href=\"https:\/\/github.com\/gasatrya\/recent-posts-widget-extended\">Github<\/a>.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p><strong>Through Dashboard<\/strong><\/p>\n\n<ol>\n<li>Log in to your WordPress admin panel and go to Plugins -&gt; Add New<\/li>\n<li>Type <strong>recent posts widget extended<\/strong> in the search box and click on search button.<\/li>\n<li>Find Recent Posts Widget Extended plugin.<\/li>\n<li>Then click on Install Now after that activate the plugin.<\/li>\n<li>Go to the widgets page <strong>Appearance -&gt; Widgets<\/strong>.<\/li>\n<li>Find <strong>Recent Posts Extended<\/strong> widget.<\/li>\n<\/ol>\n\n<p><strong>Installing Via FTP<\/strong><\/p>\n\n<ol>\n<li>Download the plugin to your hardisk.<\/li>\n<li>Unzip.<\/li>\n<li>Upload the <strong>recent-posts-widget-extended<\/strong> folder into your plugins directory.<\/li>\n<li>Log in to your WordPress admin panel and click the Plugins menu.<\/li>\n<li>Then activate the plugin.<\/li>\n<li>Go to the widgets page <strong>Appearance -&gt; Widgets<\/strong>.<\/li>\n<li>Find <strong>Recent Posts Extended<\/strong> widget.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='shortcode%20explanation'><h3>Shortcode Explanation<\/h3><\/dt>\n<dd><p>Explanation of shortcode options:<\/p>\n\n<p>Basic shortcode<\/p>\n\n<pre><code>[rpwe]\n<\/code><\/pre>\n\n<p>Display 10 recent posts<\/p>\n\n<pre><code>[rpwe limit=\"10\"]\n<\/code><\/pre>\n\n<p>Display 5 random posts<\/p>\n\n<pre><code>[rpwe limit=\"5\" orderby=\"rand\"]\n<\/code><\/pre>\n\n<p>Display 10 recent posts without thumbnail<\/p>\n\n<pre><code>[rpwe limit=\"10\" thumb=\"false\"]\n<\/code><\/pre>\n\n<p>Open post link in new tab<\/p>\n\n<pre><code>[rpwe link_target=\"true\"]\n<\/code><\/pre>\n\n<p>Disable default style<\/p>\n\n<pre><code>[rpwe styles_default=\"false\"]\n<\/code><\/pre><\/dd>\n<dt id='shortcode%20arguments'><h3>Shortcode Arguments<\/h3><\/dt>\n<dd><p><strong>Here are the full default shortcode arguments<\/strong><\/p>\n\n<pre><code>limit=\"5\"\noffset=\"\"\norder=\"DESC\"\norderby=\"date\"\npost_type=\"post\"\ncat=\"\"\ntag=\"\"\ntaxonomy=\"\"\npost_type=\"post\"\npost_status=\"publish\"\nignore_sticky=\"1\"\ntaxonomy=\"\"\n\npost_title=\"true\"\nlink_target=\"false\"\nexcerpt=\"false\"\nlength=\"10\"\nthumb=\"true\"\nthumb_height=\"45\"\nthumb_width=\"45\"\nthumb_default=\"https:\/\/via.placeholder.com\/45x45\/f0f0f0\/ccc\"\nthumb_align=\"rpwe-alignleft\"\ndate=\"true\"\nreadmore=\"false\"\nreadmore_text=\"Read More &amp;raquo;\"\n\nstyles_default=\"true\"\ncss_id=\"\"\ncss_class=\"\"\nbefore=\"\"\nafter=\"\"\n<\/code><\/pre><\/dd>\n<dt id='how%20to%20filter%20the%20post%20query%3F'><h3>How to filter the post query?<\/h3><\/dt>\n<dd><p>You can use <code>rpwe_default_query_arguments<\/code> to filter it. Example:<\/p>\n\n<pre><code>add_filter( 'rpwe_default_query_arguments', 'your_custom_function' );\nfunction your_custom_function( $args ) {\n    $args['posts_per_page'] = 10; \/\/ Changing the number of posts to show.\n    return $args;\n}\n<\/code><\/pre><\/dd>\n<dt id='ordering%20not%20working%21'><h3>Ordering not working!<\/h3><\/dt>\n<dd><p>Did you installed any Post or Post Type Order? Please try to deactivate it and try again the ordering. <a href=\"http:\/\/wordpress.org\/support\/topic\/ordering-set-to-descending-not-working\">(related question)<\/a><\/p><\/dd>\n<dt id='no%20image%20options'><h3>No image options<\/h3><\/dt>\n<dd><p>Your theme needs to support Post Thumbnail, please go to http:\/\/codex.wordpress.org\/Post_Thumbnails to read more info and how to activate it in your theme.<\/p><\/dd>\n<dt id='how%20to%20add%20custom%20style%3F'><h3>How to add custom style?<\/h3><\/dt>\n<dd><p>First, please uncheck the <strong>Use Default Style<\/strong> option then place the css code below on the Additional CSS panel on Customizer, then you can customize it to fit your needs<\/p>\n\n<pre><code>.rpwe-block ul {\n    list-style: none !important;\n    margin-left: 0 !important;\n    padding-left: 0 !important;\n}\n.rpwe-block li {\n    border-bottom: 1px solid #eee;\n    margin-bottom: 10px;\n    padding-bottom: 10px;\n    list-style-type: none;\n}\n.rpwe-block a {\n    display: inline !important;\n    text-decoration: none;\n}\n.rpwe-block h3 {\n    background: none !important;\n    clear: none;\n    margin-bottom: 0 !important;\n    margin-top: 0 !important;\n    font-weight: 400;\n    font-size: 12px !important;\n    line-height: 1.5em;\n}\n.rpwe-thumb {\n    border: 1px solid #eee !important;\n    box-shadow: none !important;\n    margin: 2px 10px 2px 0;\n    padding: 3px !important;\n}\n.rpwe-summary {\n    font-size: 12px;\n}\n.rpwe-time {\n    color: #bbb;\n    font-size: 11px;\n}\n.rpwe-alignleft {\n    display: inline;\n    float: left;\n}\n.rpwe-alignright {\n    display: inline;\n    float: right;\n}\n.rpwe-aligncenter {\n    display: block;\n    margin-left: auto;\n    margin-right: auto;\n}\n.rpwe-clearfix:before,.rpwe-clearfix:after {\n    content: \"\";\n    display: table !important;\n}\n.rpwe-clearfix:after {\n    clear: both;\n}\n.rpwe-clearfix {\n    zoom: 1;\n}\n<\/code><\/pre><\/dd>\n<dt id='why%20so%20many%20%21important%20in%20the%20css%20code%3F'><h3>Why so many !important in the css code?<\/h3><\/dt>\n<dd><p>I know it's not good but I have a good reason, the <code>!important<\/code> is to make sure the built-in style compatible with all themes. But if you don't like it, you can turn of the <strong>Use Default Styles<\/strong> and remove all custom css code in the <strong>Custom CSS<\/strong> box then create your own style.<\/p><\/dd>\n<dt id='available%20filters'><h3>Available filters<\/h3><\/dt>\n<dd><p>Default arguments<\/p>\n\n<pre><code>rpwe_default_args\n<\/code><\/pre>\n\n<p>Post excerpt<\/p>\n\n<pre><code>rpwe_excerpt\n<\/code><\/pre>\n\n<p>Post markup<\/p>\n\n<pre><code>rpwe_markup\n<\/code><\/pre>\n\n<p>Post query arguments<\/p>\n\n<pre><code>rpwe_default_query_arguments\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p><strong>2.0.2<\/strong><br \/>\n<em>Release Date: Oct 05, 2022<\/em><\/p>\n\n<p><strong>Bug fixes:<\/strong><\/p>\n\n<ul>\n<li>Prevent double slash when loading the php file.<\/li>\n<li>Use <code>display: block<\/code> for the list, <code>inline-block<\/code> causing issue for some websites.<\/li>\n<\/ul>\n\n<p><strong>Enhancements:<\/strong><\/p>\n\n<ul>\n<li>Minor issue with the auto generate thumbnail function.<\/li>\n<li>Fix translation issue. Thanks <a href=\"https:\/\/github.com\/alexclassroom\">Alex Lion<\/a>.<\/li>\n<li>CSS tweak.<\/li>\n<\/ul>\n\n\n\n<p><strong>2.0.1<\/strong><br \/>\n<em>Release Date: Sept 28, 2022<\/em><\/p>\n\n<p><strong>Bug fixes:<\/strong><\/p>\n\n<ul>\n<li>Compatibility issue with Siteorigin Page Builder.<\/li>\n<\/ul>\n\n<p><strong>Enhancements:<\/strong><\/p>\n\n<ul>\n<li>Re-enable custom CSS setting.<\/li>\n<li>Full support Siteorigin Page Builder.<\/li>\n<li>Adds <code>display: inline-block;<\/code> to the default style, to make sure each list align properly. Thank you <a href=\"https:\/\/wordpress.org\/support\/users\/outrospective\/\">outrospective<\/a>!<\/li>\n<\/ul>\n\n\n\n<p><strong>2.0 - Major Changes<\/strong><br \/>\n<em>Release Date: Sept 22, 2022<\/em><\/p>\n\n<p>This release comes major changes to the codebase, several fixes and enhancements. The reason was to follow the latest WordPress coding standard, more secure. <strong>Classic widget and block widget is now supported!<\/strong><\/p>\n\n<p><strong>Breaking Changes:<\/strong><\/p>\n\n<ul>\n<li><strong>CSS ID<\/strong> shortcode attribute for the container was <code>cssID<\/code> or <code>cssid<\/code>, please use <code>css_id<\/code> instead.<\/li>\n<li><strong>CSS ID<\/strong> widget, please re-added your ID to the input field.<\/li>\n<li><code>before<\/code> and <code>after<\/code> shortcode attribute move to inside the recent posts container.<\/li>\n<li>Widget <strong>custom style<\/strong> location change. If your style is not loaded, please re-save the widget.<\/li>\n<li><strong>Custom CSS<\/strong> no longer editable, please move your custom CSS to the Additional CSS panel on Customizer.<\/li>\n<\/ul>\n\n<p><strong>Enhancements:<\/strong><\/p>\n\n<ul>\n<li>Classic &amp; blocks widget supported!<\/li>\n<li>Support <strong>lazy<\/strong> loading for the thumbnail.<\/li>\n<li>No more inline CSS, by default <code>rpwe-frontend.css<\/code> will be loaded if shortcode or widget present.<\/li>\n<li>No more <code>extract()<\/code>. <a href=\"https:\/\/developer.wordpress.org\/coding-standards\/wordpress-coding-standards\/php\/#dont-extract\">ref<\/a><\/li>\n<li><strong>New<\/strong> show hide the post title.<\/li>\n<\/ul>\n\n<p><strong>Bug fixes:<\/strong><\/p>\n\n<ul>\n<li>Default image wasn't working correctly.<\/li>\n<li><code>true<\/code> or <code>false<\/code> shortcode value.<\/li>\n<\/ul>","raw_excerpt":"Provides flexible and advanced recent posts. Display it via shortcode or widget with thumbnails, post excerpt, taxonomy and more.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/326","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=326"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/themejunkie"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=326"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=326"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=326"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=326"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=326"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}