WordPress.org

Plugin Directory

Flexible Recent Posts

Displays recent posts using flexible template system. Define template for each post entry, set needed taxonomy and much more.

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 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. 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="32x32"]

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"]

Requires: 3.0 or higher
Compatible up to: 3.9.4
Last Updated: 2014-7-21
Active Installs: 3,000+

Ratings

5 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,2,2
100,1,1
100,1,1
100,1,1
0,1,0
100,1,1