{"id":17730,"date":"2012-04-18T07:29:12","date_gmt":"2012-04-18T07:29:12","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/flexible-recent-posts\/"},"modified":"2015-10-18T19:17:03","modified_gmt":"2015-10-18T19:17:03","slug":"flexible-recent-posts","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/flexible-recent-posts\/","author":7481348,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.4","stable_tag":"1.0.4","tested":"3.9.40","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Flexible Recent Posts","header_author":"SteelRat","header_description":"","assets_banners_color":"d3c4a5","last_updated":"2015-10-18 19:17:03","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/flattr.com\/thing\/646464","header_plugin_uri":"http:\/\/steelrat.info\/","header_author_uri":"http:\/\/steelrat.info\/","rating":5,"author_block_rating":0,"active_installs":300,"downloads":22695,"num_ratings":8,"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":"8"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"537140","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1567208","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1567208","resolution":"1","location":"plugin"}},"screenshots":{"1":"Widget options form","2":"Widget on frontend"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[86,166,2281,975,162],"plugin_category":[43],"plugin_contributors":[81678],"plugin_business_model":[],"class_list":["post-17730","plugin","type-plugin","status-publish","hentry","plugin_tags-post","plugin_tags-posts","plugin_tags-recent","plugin_tags-template","plugin_tags-widget","plugin_category-customization","plugin_contributors-thesteelrat","plugin_committers-thesteelrat"],"banners":{"banner":"https:\/\/ps.w.org\/flexible-recent-posts\/assets\/banner-772x250.png?rev=537140","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/flexible-recent-posts_d3c4a5.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/flexible-recent-posts\/trunk\/screenshot-1.png?rev=1567208","caption":"Widget options form"},{"src":"https:\/\/ps.w.org\/flexible-recent-posts\/trunk\/screenshot-2.png?rev=1567208","caption":"Widget on frontend"}],"raw_content":"<!--section=description-->\n<h4>Looking for maintainer. Write me to paul.annekov@gmail.com<\/h4>\n\n<p>Flexible Recent Posts (FRP) plugin gives you possibility to add widget to your blog with recent posts using user-defined template.<\/p>\n\n<p><strong>The main features are:<\/strong><\/p>\n\n<ul>\n<li><strong>Template<\/strong> for each post in widget. You can write your HTML-template or overwrite default in widget form.<\/li>\n<li><strong>Shortcodes<\/strong> support in template. You can use built-in shortcodes to insert info related to current post in widget: <code>title<\/code>, <code>featured image<\/code>, <code>excerpt<\/code>, <code>date<\/code>, <code>permalink<\/code>, <code>author<\/code>, <code>comments<\/code>.<\/li>\n<li><strong>Restrict terms<\/strong> from which you want to display posts. Display posts from all terms or from selected only.<\/li>\n<li><strong>Number of posts<\/strong> to display. Set number of latest posts that will be displayed in widget.<\/li>\n<li><strong>All posts links<\/strong>. Select option to display link near the title or\/and after all posts that will open selected posts category page. Set link title or custom link URL.<\/li>\n<\/ul>\n\n<p><strong>Useful links:<\/strong><\/p>\n\n<ul>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/flexible-recent-posts\/other_notes\/\">Template shortcodes<\/a><\/li>\n<li><a href=\"http:\/\/frp.idea.informer.com\/\">Feature requests<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/tags\/flexible-recent-posts?forum_id=10#postform\">Bugs<\/a><\/li>\n<li><a href=\"https:\/\/flattr.com\/thing\/646464\">Donate (Flattr)<\/a><\/li>\n<\/ul>\n\n<p><strong>Translators:<\/strong><\/p>\n\n<ul>\n<li>Russian (ru) - <a href=\"http:\/\/www.steelrat.info\/en\/\">Paul Annekov<\/a><\/li>\n<\/ul>\n\n<p><strong>Licenses<\/strong><\/p>\n\n<ul>\n<li>Uses <a href=\"http:\/\/www.fatcow.com\/free-icons\">FatCow Icon Set<\/a> licensed under <a href=\"http:\/\/creativecommons.org\/licenses\/by\/3.0\/us\/\">Creative Commons Attribution 3.0 License<\/a>.<\/li>\n<\/ul>\n\n<h3>Shortcodes<\/h3>\n\n<p>Plugin template system supports 5 shortcodes related to current widget post, that you can use in your template:<\/p>\n\n<p><strong>Title<\/strong> [frp_title]<\/p>\n\n<p>Displays post title.<\/p>\n\n<p><em>Example<\/em>: <code>&lt;h4&gt;[frp_title]&lt;\/h4&gt;<\/code><\/p>\n\n<p><strong>Excerpt<\/strong> [frp_excerpt length=\"\"]<\/p>\n\n<p>Displays post excerpt using <a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/get_the_excerpt\" title=\"Visit function reference page\">get_the_excerpt<\/a> function.\nYou can specify excerpt length using <code>length<\/code> attribute. If not specified - default WordPress excerpt length used.<\/p>\n\n<p><em>Example<\/em>: <code>&lt;div class=\"excerpt\"&gt;[frp_excerpt]&lt;\/div&gt;<\/code>, <code>[frp_excerpt length=\"15\"]<\/code><\/p>\n\n<p><strong>Date<\/strong> [frp_date format=\"F j, Y\" time_since=\"0\"]<\/p>\n\n<p>Displays post date. You can add <code>format<\/code> shortcode parameter to change date format. Read about format value <a href=\"http:\/\/codex.wordpress.org\/Formatting_Date_and_Time\" title=\"Visit customizing time and date reference page\">here<\/a>.\nAdd <code>time_since<\/code> parameter with 1 as value to display amount of elapsed time: <code>30 seconds ago<\/code>, <code>5 minutes ago<\/code>, <code>12 hours ago<\/code>, <code>3 Jun<\/code>.<\/p>\n\n<p><em>Example<\/em>: <code>&lt;div class=\"date\"&gt;[frp_date format=\"Y\/m\/d g:i:s A\"]&lt;\/div&gt;<\/code>, <code>&lt;div class=\"elapsed\"&gt;[frp_date time_since=\"1\"]&lt;\/div&gt;<\/code><\/p>\n\n<p><strong>Link<\/strong> [frp_link]<\/p>\n\n<p>Displays post permalink.<\/p>\n\n<p><em>Example<\/em>: <code>&lt;a href=\"[frp_link]\"&gt;read more&lt;\/a&gt;<\/code><\/p>\n\n<p><strong>Featured image<\/strong> [frp_thumbnail size=\"32x32\"]<\/p>\n\n<p>Displays featured post image. Add <code>size<\/code> shortcode parameter to change image size. You can define size using WIDTHxHEIGHT as value or size name (built-in or defined in theme).<\/p>\n\n<p><em>Examples<\/em>: <code>[frp_thumbnail]<\/code>, <code>[frp_thumbnail size=\"thumbnail\"]<\/code>, <code>[frp_thumbnail size=\"128x128\"]<\/code>, <code>[frp_thumbnail size=\"full\"]<\/code><\/p>\n\n<p><strong>Author<\/strong> [frp_author link=\"1\"]<\/p>\n\n<p>Displays name of the post's author. Set <code>link<\/code> parameter to 0 if you want to disable link (author's site) from author name.<\/p>\n\n<p><em>Examples<\/em>: <code>[frp_author]<\/code>, <code>[frp_author link=\"1\"]<\/code>, <code>[frp_author link=\"0\"]<\/code><\/p>\n\n<p><strong>Comments<\/strong> [frp_comments no_text=\"1\"]<\/p>\n\n<p>Displays the number of comments. Set <code>no_text<\/code> parameter to 1 if you want to disable comment text (just \"23\" instead of \"23 Comments\").<\/p>\n\n<p><em>Examples<\/em>: <code>[frp_comments]<\/code>, <code>[frp_comments no_text=\"1\"]<\/code>, <code>[frp_comments no_text=\"0\"]<\/code><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>flexible-recent-posts<\/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>Go to <code>wp-admin\/widgets.php<\/code> page, move <code>Flexible Recent Posts<\/code> widget to any sidebar and change its defaults<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How can I change visual style of widget?<\/dt>\n<dd><p>You can edit <code>style.css<\/code> file in your theme adding needed styles. I will made some predefined styles in feature.<\/p><\/dd>\n<dt>I have created language pack or updated existing one. How can I send it to you?<\/dt>\n<dd><p>Send <a href=\"http:\/\/codex.wordpress.org\/Translating_WordPress\">gettext PO and MO files<\/a> to me. You can find out my contacts <a href=\"http:\/\/www.steelrat.info\/en\/contacts\/\">here<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Increased priority of excerpt length filter.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fixed problem with CSS stylesheet in page content and not in the head section.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fixed problem with missing compressed JS file.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added [frp_comments] shortcode.<\/li>\n<li>Fixed <a href=\"http:\/\/wordpress.org\/support\/topic\/global-variable-post-and-id-clobbered\">bug<\/a> when main posts Loop was broken by widget.<\/li>\n<li>Added <code>length<\/code> attribute to [frp_excerpt] shortcode.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Added taxonomies and custom posts support. Now you can use not only categories and regular posts, but custom taxonomies and custom posts.<\/li>\n<li>More native posts querying procedure.<\/li>\n<li>Fixed <a href=\"http:\/\/wordpress.org\/support\/topic\/author-not-shown-when-on-search-results-page\">bug<\/a> when author was not shown on search results page.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Added <code>[frp_author]<\/code> shortcode.<\/li>\n<li>Added <code>time_since<\/code> parameter to frp_date shortcode to display amount of elapsed time (like on twitter).<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Added global post replacement to make shortcodes more native. Now you can use plugin shortcodes in post content.<\/li>\n<li>Added categories list disable if 'All categories' checkbox is checked.<\/li>\n<li>Fixed PHP Notices if featured image exists in template with size defined as WIDTHxHEIGHT.<\/li>\n<li>Fixed shortcodes insert after widget form save.<\/li>\n<li>Fixed buttons actions on just created widgets on Widgets page.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Init version.<\/li>\n<\/ul>","raw_excerpt":"Displays recent posts using flexible template system. Define template for each post entry, set needed taxonomy and much more.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17730"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/thesteelrat"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17730"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17730"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17730"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17730"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17730"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}