Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
Latest Post Shortcode icon

Latest Post Shortcode

v14.3.1
by Iulia Cazan · 4.8 (46 reviews)

The "Latest Post Shortcode" helps you display a list or grid of the posts or pages in a page/sidebar, without having to code or know PHP.

4K+ active installs Updated Dec 03, 2026 Tested to 7.2 Requires PHP 7.3.5
Try Demo Download
Pre-installed Ready in ~10s No card
Latest Post Shortcode

About Latest Post Shortcode

The "Latest Post Shortcode" plugin allows you to easily display a list or grid of posts or pages on your website without needing to know any coding. You can customize the display options, including the number of items per row, sorting options, and pagination. The plugin is compatible with any modern theme and can be used with page builders like Elementor.

Screenshots

Latest Post Shortcode screenshot
Latest Post Shortcode screenshot
Latest Post Shortcode screenshot
Latest Post Shortcode screenshot
Latest Post Shortcode screenshot
Latest Post Shortcode screenshot
Latest Post Shortcode screenshot
Latest Post Shortcode screenshot

Changelog

14.3.1

  • Security: fixed a reflected XSS in the slider output of the pagination requests (title tag, aspect ratio) and escaped the more and linktext attributes
  • Security: the pagination, load more and infinite scroll requests now carry the arguments of the instance signed by the server, so an anonymous request cannot render the shortcode with arguments of its own. Purge the page cache after the update (the filter lps/allow_unsigned_args allows unsigned requests, not recommended)
  • Security: posts with a non public status (ex: status="private") are shown only to the users that can read them (the filter lps/restrict_non_public_statuses returning false keeps the previous behavior)
  • Security: the shortcode generator modal no longer runs markup saved in a block attribute, and the block REST route and the cache and notice AJAX actions check the capability of the user
  • Fixed a fatal error with a non-numeric perpage value, and the escaping of the data-args attribute

See the changelog for detailed information on changes made in the earlier versions.

Try other plugins

Classic Editor icon

Classic Editor

4.9 · 8M+ installs

Enables the previous "classic" editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports all…

WordPress Importer icon

WordPress Importer

3.1 · 2M+ installs

Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.

Classic Widgets icon

Classic Widgets

4.9 · 2M+ installs

Enables the previous "classic" widgets settings screens in Appearance - Widgets and the Customizer. Disables the block editor…