Title: Flexible Recent Posts
Author: Paul Annekov
Published: <strong>April 18, 2012</strong>
Last modified: October 18, 2015

---

Search plugins

![](https://ps.w.org/flexible-recent-posts/assets/banner-772x250.png?rev=537140)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/flexible-recent-posts_d3c4a5.svg)

# Flexible Recent Posts

 By [Paul Annekov](https://profiles.wordpress.org/thesteelrat/)

[Download](https://downloads.wordpress.org/plugin/flexible-recent-posts.1.0.4.zip)

 * [Details](https://mlt.wordpress.org/plugins/flexible-recent-posts/#description)
 * [Reviews](https://mlt.wordpress.org/plugins/flexible-recent-posts/#reviews)
 *  [Installation](https://mlt.wordpress.org/plugins/flexible-recent-posts/#installation)
 * [Development](https://mlt.wordpress.org/plugins/flexible-recent-posts/#developers)

 [Support](https://wordpress.org/support/plugin/flexible-recent-posts/)

## Description

#### Looking for maintainer. Write me to paul.annekov@gmail.com

Flexible Recent Posts (FRP) plugin gives you possibility to add widget to your blog
with recent posts using user-defined template.

**The main features are:**

 * **Template** for each post in widget. You can write your HTML-template or overwrite
   default in widget form.
 * **Shortcodes** support in template. You can use built-in shortcodes to insert
   info related to current post in widget: `title`, `featured image`, `excerpt`,`
   date`, `permalink`, `author`, `comments`.
 * **Restrict terms** from which you want to display posts. Display posts from all
   terms or from selected only.
 * **Number of posts** to display. Set number of latest posts that will be displayed
   in widget.
 * **All posts links**. 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.

**Useful links:**

 * [Template shortcodes](https://wordpress.org/extend/plugins/flexible-recent-posts/other_notes/)
 * [Feature requests](http://frp.idea.informer.com/)
 * [Bugs](https://wordpress.org/tags/flexible-recent-posts?forum_id=10#postform)
 * [Donate (Flattr)](https://flattr.com/thing/646464)

**Translators:**

 * Russian (ru) – [Paul Annekov](http://www.steelrat.info/en/)

**Licenses**

 * Uses [FatCow Icon Set](http://www.fatcow.com/free-icons) licensed under [Creative Commons Attribution 3.0 License](http://creativecommons.org/licenses/by/3.0/us/).

### Shortcodes

Plugin template system supports 5 shortcodes related to current widget post, that
you can use in your template:

**Title** [frp_title]

Displays post title.

_Example_: `<h4>[frp_title]</h4>`

**Excerpt** [frp_excerpt length=””]

Displays post excerpt using [get_the_excerpt](https://codex.wordpress.org/Function_Reference/get_the_excerpt)
function.
 You can specify excerpt length using `length` attribute. If not specified–
default WordPress excerpt length used.

_Example_: `<div class="excerpt">[frp_excerpt]</div>`, `[frp_excerpt length="15"]`

**Date** [frp_date format=”F j, Y” time_since=”0″]

Displays post date. You can add `format` shortcode parameter to change date format.
Read about format value [here](https://codex.wordpress.org/Formatting_Date_and_Time).

Add `time_since` parameter with 1 as value to display amount of elapsed time: `30
seconds ago`, `5 minutes ago`, `12 hours ago`, `3 Jun`.

_Example_: `<div class="date">[frp_date format="Y/m/d g:i:s A"]</div>`, `<div class
="elapsed">[frp_date time_since="1"]</div>`

**Link** [frp_link]

Displays post permalink.

_Example_: `<a href="[frp_link]">read more</a>`

**Featured image** [frp_thumbnail size=”32×32″]

Displays featured post image. Add `size` shortcode parameter to change image size.
You can define size using WIDTHxHEIGHT as value or size name (built-in or defined
in theme).

_Examples_: `[frp_thumbnail]`, `[frp_thumbnail size="thumbnail"]`, `[frp_thumbnail
size="128x128"]`, `[frp_thumbnail size="full"]`

**Author** [frp_author link=”1″]

Displays name of the post’s author. Set `link` parameter to 0 if you want to disable
link (author’s site) from author name.

_Examples_: `[frp_author]`, `[frp_author link="1"]`, `[frp_author link="0"]`

**Comments** [frp_comments no_text=”1″]

Displays the number of comments. Set `no_text` parameter to 1 if you want to disable
comment text (just “23” instead of “23 Comments”).

_Examples_: `[frp_comments]`, `[frp_comments no_text="1"]`, `[frp_comments no_text
="0"]`

## Screenshots

 * [[
 * Widget options form
 * [[
 * Widget on frontend

## Installation

 1. Upload `flexible-recent-posts` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to `wp-admin/widgets.php` page, move `Flexible Recent Posts` widget to any sidebar
    and change its defaults

## FAQ

  How can I change visual style of widget?

You can edit `style.css` file in your theme adding needed styles. I will made some
predefined styles in feature.

  I have created language pack or updated existing one. How can I send it to you?

Send [gettext PO and MO files](https://codex.wordpress.org/Translating_WordPress)
to me. You can find out my contacts [here](http://www.steelrat.info/en/contacts/).

## Reviews

![](https://secure.gravatar.com/avatar/2c633332f94afb95146df0ee07c412fa6d35813f24ebce3416c6b3ac8563c297?
s=60&d=retro&r=g)

### 󠀁[Great way to get recent news on the home page](https://wordpress.org/support/topic/great-way-to-get-recent-news-on-the-home-page/)󠁿

 [Jason King](https://profiles.wordpress.org/jasoncharlesstuartking/) September 
3, 2016

I needed to put the latest three news items on the home page with titles, excerpts
and medium sized images. I’m using Bootstrap, so wanted to sprinkle some additional
html around the individual news items. This plugin enabled me to do that nicely 
and simply. Thanks!

![](https://secure.gravatar.com/avatar/d5e9b0b6855002a6ec0a8574b3fd496e68f51e70d03cd54a50dfc0f225972d02?
s=60&d=retro&r=g)

### 󠀁[Very Useful!](https://wordpress.org/support/topic/very-useful-831/)󠁿

 [shoelace1291](https://profiles.wordpress.org/shoelace1291/) September 3, 2016

I have not run into any problems with this plugin and find it very useful! The only
suggestion I have is to maybe add a shortcode for a category tree to show what category
and subcategory(if it’s in a subcategory) a post is in. For example: Xbox > FPS 
Other than that, I have no complaints!

![](https://secure.gravatar.com/avatar/7d4f50ce75e2d45cd276c6d6ae8d643b0b486fa2b404d8083af0b6fbb8ca8350?
s=60&d=retro&r=g)

### 󠀁[Flexible](https://wordpress.org/support/topic/flexible-28/)󠁿

 [moradpour](https://profiles.wordpress.org/moradpour/) February 8, 2017

thank you Mr. Paul Annekov

 [ Read all 8 reviews ](https://wordpress.org/support/plugin/flexible-recent-posts/reviews/)

## Contributors & Developers

“Flexible Recent Posts” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Paul Annekov ](https://profiles.wordpress.org/thesteelrat/)

[Translate “Flexible Recent Posts” into your language.](https://translate.wordpress.org/projects/wp-plugins/flexible-recent-posts)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/flexible-recent-posts/),
check out the [SVN repository](https://plugins.svn.wordpress.org/flexible-recent-posts/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/flexible-recent-posts/)
by [RSS](https://plugins.trac.wordpress.org/log/flexible-recent-posts/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.4

 * Increased priority of excerpt length filter.

#### 1.0.3

 * Fixed problem with CSS stylesheet in page content and not in the head section.

#### 1.0.2

 * Fixed problem with missing compressed JS file.

#### 1.0.1

 * Added [frp_comments] shortcode.
 * Fixed [bug](https://wordpress.org/support/topic/global-variable-post-and-id-clobbered)
   when main posts Loop was broken by widget.
 * Added `length` attribute to [frp_excerpt] shortcode.

#### 1.0.0

 * Added taxonomies and custom posts support. Now you can use not only categories
   and regular posts, but custom taxonomies and custom posts.
 * More native posts querying procedure.
 * Fixed [bug](https://wordpress.org/support/topic/author-not-shown-when-on-search-results-page)
   when author was not shown on search results page.

#### 0.3

 * Added `[frp_author]` shortcode.
 * Added `time_since` parameter to frp_date shortcode to display amount of elapsed
   time (like on twitter).

#### 0.2

 * Added global post replacement to make shortcodes more native. Now you can use
   plugin shortcodes in post content.
 * Added categories list disable if ‘All categories’ checkbox is checked.
 * Fixed PHP Notices if featured image exists in template with size defined as WIDTHxHEIGHT.
 * Fixed shortcodes insert after widget form save.
 * Fixed buttons actions on just created widgets on Widgets page.

#### 0.1

 * Init version.

## Meta

 *  Version **1.0.4**
 *  Last updated **11 years ago**
 *  Active installations **400+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **3.9.40**
 *  Language
 * [English (US)](https://wordpress.org/plugins/flexible-recent-posts/)
 * Tags
 * [post](https://mlt.wordpress.org/plugins/tags/post/)[posts](https://mlt.wordpress.org/plugins/tags/posts/)
   [recent](https://mlt.wordpress.org/plugins/tags/recent/)[template](https://mlt.wordpress.org/plugins/tags/template/)
   [widget](https://mlt.wordpress.org/plugins/tags/widget/)
 *  [Advanced View](https://mlt.wordpress.org/plugins/flexible-recent-posts/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/flexible-recent-posts/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/flexible-recent-posts/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/flexible-recent-posts/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/flexible-recent-posts/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/flexible-recent-posts/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/flexible-recent-posts/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/flexible-recent-posts/reviews/)

## Contributors

 *   [ Paul Annekov ](https://profiles.wordpress.org/thesteelrat/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/flexible-recent-posts/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://flattr.com/thing/646464)