Flexi Recent Posts - Free WordPress Plugin by Mhd Wahyu NZ

Flexi Recent Posts

Introduction

Flexi Recent Posts is a free WordPress plugin developed to display latest or recent posts anywhere in a flexible manner using shortcodes that comes with a number of attributes that can be selected to display post elements.

You can customise how posts are displayed using attributes. Posts elements that you can customise using attributes are: post title, post date, post category, tag, author, excerpt, dan featured image.

You can also set the style for each parameter via the included CSS file or via additional CSS in the customizer. It’s up to you.

Flexi Recent Posts was initially developed for personal use and was later decided to be shared with all WordPress users as an option. You can use it freely, and it will remain that way. There is absolutely no intention to commercialise it as a paid plugin.

However, if you insist on donating to me and this plugin, then perhaps, just perhaps, I would feel guilty if I refused. But I don’t yet have an easy and practical way to do so. I have to ask my wife first. Any suggestions? 😁

Flexi Recent Posts: Installation and Usage

As Flexi Recent Posts is not yet available on the WordPress plugin repository, installation is carried out by uploading the plugin via the menu:

Plugin » Add Plugin » Upload Plugin

After installation, activate the plugin, then Flexi Recent Posts can be used anywhere (posts, pages, etc.) as long as you can place the shortcode. The shortcode used is:

[flexiposts]

Flexi Recent Posts: Shortcode Attribute

Along with the short code used to display the latest posts, several attributes can be added to make customisation, as follows:

AttributeValue
title0 = Disable post title
cat0 = Disable post category
tag0 = Disable post tag
date0 = Disable post date
author0 = Disable post author
authorlink0 – Disable author link
image0 = Disable featured image
imagesizeNumber – Featured image width
excerpt0 = Disable post excerpt
numberNumber – Number of post
mode1, 2, or 3 (Display mode)
limitNumber – excerpt character limit
more1 = Enable read more link
AtributNilai
Tabel Atribut kode pendek Flexi Recent Posts

If the element you want to display using a shortcode already matches the default value of that attribute, you can omit the attribute in the shortcode. However, if you still want to use the attribute to ensure the element is displayed, that’s fine.

Flexi Recent Posts: Demo

Demo 1: Default

The default shortcode will display recent posts with attribute values set by the plugin.

[flexiposts]
---
Default attribute value:
• title="1"
• date="1"
• cat="1"
• tag="1"
• excerpt="1"
• author="1"
• image="1"
• number="3"
• limit="80"
• mode="1"
• authorlink="1"
• imagesize="100"
Sosialisasi dan Pendidikan Politik untuk Wanita bersama Badan Kesbangpol Kota Banjarbaru.

Seberapa Penting Perempuan Banjarbaru?

Mhd Wahyu NZ - Kamis, 02 Oktober 2025
Ketika ada yang meminta tips bagaimana agar aspirasi perempuan didengar dengan b...
Pluz Optimize Featured Image adalah plugin ringan namun ampuh yang dirancang untuk satu tujuan khusus: mengoptimalkan pemuatan gambar unggulan pada tulisan tunggal dan jenis tulisan khusus.

Rilis Plugin Pluz Optimize Featured Image

Mhd Wahyu NZ - Senin, 29 September 2025
Pluz Optimize Featured Image adalah plugin yang dirancang untuk mengoptimalkan p...
Mediasi lanjutan antara RT.002 RW.003 Kelurahan Mentaos dan Pondok Pesantren AQJ pada Kamis (25/09) di Aula Kelurahan Mentaos, Banjarbaru.

Hasil Akhir Mediasi Pesantren AQJ Banjarbaru

Mhd Wahyu NZ - Kamis, 25 September 2025
Hasil mediasi di Kelurahan Mentaos menetapkan bahwa Pesantren AQJ Banjarbaru waj...

Demo 2

Display latest or recent posts with Mode 2 view, no author, no tag, and featured image width is 150px.

[flexiposts mode="2" number="2" author="0" imagesize="150" more="1" tag="0"]

Seberapa Penting Perempuan Banjarbaru?

Kamis, 02 Oktober 2025
Ketika ada yang meminta tips bagaimana agar aspirasi perempuan didengar dengan b... Selengkapnya »
Sosialisasi dan Pendidikan Politik untuk Wanita bersama Badan Kesbangpol Kota Banjarbaru.

Rilis Plugin Pluz Optimize Featured Image

Senin, 29 September 2025
Pluz Optimize Featured Image adalah plugin yang dirancang untuk mengoptimalkan p... Selengkapnya »
Pluz Optimize Featured Image adalah plugin ringan namun ampuh yang dirancang untuk satu tujuan khusus: mengoptimalkan pemuatan gambar unggulan pada tulisan tunggal dan jenis tulisan khusus.

Demo 3

[flexiposts mode="1" author="0" image="0" cat="0" tag="0"]

Seberapa Penting Perempuan Banjarbaru?

Kamis, 02 Oktober 2025
Ketika ada yang meminta tips bagaimana agar aspirasi perempuan didengar dengan b...

Rilis Plugin Pluz Optimize Featured Image

Senin, 29 September 2025
Pluz Optimize Featured Image adalah plugin yang dirancang untuk mengoptimalkan p...

Hasil Akhir Mediasi Pesantren AQJ Banjarbaru

Kamis, 25 September 2025
Hasil mediasi di Kelurahan Mentaos menetapkan bahwa Pesantren AQJ Banjarbaru waj...

Demo 4

[flexiposts number="2" mode="3" imagesize="10" authorlink="0"]
Sosialisasi dan Pendidikan Politik untuk Wanita bersama Badan Kesbangpol Kota Banjarbaru.

Seberapa Penting Perempuan Banjarbaru?

Mhd Wahyu NZ - Kamis, 02 Oktober 2025
Ketika ada yang meminta tips bagaimana agar aspirasi perempuan didengar dengan b...
Pluz Optimize Featured Image adalah plugin ringan namun ampuh yang dirancang untuk satu tujuan khusus: mengoptimalkan pemuatan gambar unggulan pada tulisan tunggal dan jenis tulisan khusus.

Rilis Plugin Pluz Optimize Featured Image

Mhd Wahyu NZ - Senin, 29 September 2025
Pluz Optimize Featured Image adalah plugin yang dirancang untuk mengoptimalkan p...

Changelog

Major security and performance update. Enhanced input validation, optimized database queries, and improved compatibility with WordPress 6.8+ and PHP 8.0+. Recommended for all users.

* Security: Enhanced input validation and sanitization for all shortcode attributes.
* Security: Added range validation for numeric attributes (number: 1-100, limit: 1-1000, imagesize: 0-2000).
* Security: Improved database query security with proper prepared statements.
* Security: Added comprehensive validation for taxonomy existence and term objects.
* Security: Enhanced post object validation before processing.
* Performance: Optimized WP_Query with `no_found_rows` and `update_post_meta_cache` for better performance.
* Performance: Improved transient deletion to support object cache systems.
* Performance: Added version number to cache keys to auto-invalidate on updates.
* Compatibility: Added explicit WordPress 6.8+ and PHP 8.0+ requirements.
* Improvement: Added plugin constants (FRP_VERSION, FRP_PLUGIN_DIR, FRP_PLUGIN_URL).
* Improvement: Added cleanup on plugin deactivation to remove transients.
* Improvement: Added hooks for ‘trashed_post’ and ‘untrashed_post’ to flush cache.
* Code Quality: Enhanced code documentation and type safety.
* Code Quality: Removed unnecessary variable assignments and improved logic flow.

* Tweak: In `mode=”3″`, the `imagesize` attribute is now ignored to consistently enforce a 100% image width.
* Fix: Removed unnecessary bottom margin on the image in `mode=”3″` to ensure uniform vertical spacing between all elements.
* Technical: Updated plugin and CSS file versions.

* Improvement: Optimized the loaded image size. The plugin now uses the ‘thumbnail’ size for modes 1 & 2, and the ‘medium’ size for mode 3 to improve efficiency and visual quality.
* Technical: Updated the plugin version in the header file.

* Feature: Added the `more` attribute to display a “Read more »” link at the end of the excerpt.
* Fix: The “Read more »” link logic is no longer tied to the `title` attribute but is controlled by the new `more` attribute.
* Tweak: Changed the default value for the `imagesize` attribute from `0` to `100`.
* Documentation: Updated the `limit` attribute description to clarify that the limit is based on characters, not words.
* Documentation: Updated the header and attribute list in the readme.txt file.

* Feature: Main shortcode changed to [flexiposts] for simplicity.
* Feature: Added the `imagesize` attribute to set a custom width for the featured image.
* Feature: Links on categories, tags, and the author’s name now open in a new tab.
* Feature: Automatically added a “Read More »” link to the excerpt if the title was hidden.
* Fix: The featured image is no longer linked to the post page to prevent unwanted hover behavior.
* Style: A complete overhaul of the CSS file for a new color scheme, layout, and element spacing.
* Structure: Refactored code in the `frp-display.php` file to improve readability and implement new display logic.

* Initial release.

Download Flexi Recent Posts

  • 🔌Plugin NameFlexi Recent Posts
  • 📇Version2.4.0
  • 📥File Size15.26 KB
  • 📅Release Date17-11-2025

Tinggalkan sebuah Komentar

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

Gulir Ke Atas