Latest Post Shortcode
The "Latest Post Shortcode" allows you to create a dynamic content selection from your posts by combining, limiting, and filtering what you need.
Sichere Auswahl
Yes — Latest Post Shortcode is a safe, well-maintained plugin to use in 2026. It runs on 4K+ sites, is rated 4.8/5 and was last updated 4 days ago, and scores 88/100 on our health check.
- Loved by users — 4.8/5 from 46 reviews
- Actively developed — last update 4 days ago
- Getestet mit dem neuesten WordPress (7.1)
- Momentum — downloads up 218.6% vs the previous 30 days
Tägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Latest Post Shortcode stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| configurable shortcode with UI | #2 |
| Gutenberg block | >100 |
| paginated posts | #2 |
| posts grid | #47 |
| posts shortcode | #3 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 4.8 from 46 reviews
About Latest Post Shortcode
From the official readme · v14.3.0Beschreibung
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. The output parameters are extremely flexible, allowing you to choose the way your selected content will be displayed. You can embed as many shortcodes in a page as you need, each shortcode configured differently. The shortcode for displaying the latest posts is [latest-selected-content] and can be generated very easily, the plugin will add a block or a shortcode button in the editor area.
You can write your own “read more” replacement, choose whether to show/hide featured images, you can even sort the items by several options, and paginate the output (also AJAX pagination). This plugin works with any modern theme. When used with WordPress >= 5.0 + Gutenberg, the plugin shortcode can be configured from the LPS block or any Classic block, using the plugin button. The plugin can be used with Elementor page builder.
Demo
Usage example
Example of a simple grid with 4 cards per row, with AJAX pagination:
[latest-selected-content ver=”2″ perpage=”4″ showpages=”4″ display=”title,date,excerpt-small” titletag=”h3″ chrlimit=”120″ more=”…” url=”yes” linktext=”Read more” image=”thumbnail” image_placeholder=”auto” elements=”25″ image_opacity=”0.3″ css=”four-columns as-overlay content-end pagination-space-between light tall” type=”post” status=”publish” orderby=”dateD” show_extra=”ajax_pagination,pagination_all,trim,date_diff,category,hide_uncategorized_category,oneterm_category,light_spinner”]
Example of a simple grid with 4 cards (2 per row), filtered by a category (sample term):
[latest-selected-content ver=”2″ limit=”4″ display=”title,content-small” titletag=”h3″ chrlimit=”50″ image=”full” image_placeholder=”auto” elements=”0″ css=”two-columns as-column has-shadow content-center” type=”post” taxonomy=”category” term=”sample” orderby=”dateA”]
Starting with version 8.0.0, the plugin has a new UI and some new cool features. With this version, the output of the shortcode can be configured also as a slider, with responsive and different modes options. In this way, if you previously used the Latest Post Shortcode Extension, this is no longer needed, the plugin handles it all by itself.
Starting with version 7.0.0, the plugin implements new hooks that allow for defining and managing your custom output, through your theme or your plugins. Check more hook details and code samples at https://iuliacazan.ro/latest-post-shortcode/.
Haken
-
Custom cards output filters:
lps/override_card_patterns,lps/override_card,lps/override_card_terms,lps/override_post_class,lps/override_card_display,lps/override_section_start,lps/override_section_end -
Pagination filters:
lps/override_pagination_display/first,lps/override_pagination_display/first_icon,lps/override_pagination_display/prev,lps/override_pagination_display/prev_icon,lps/override_pagination_display/next,lps/override_pagination_display/next_icon,lps/override_pagination_display/last,lps/override_pagination_display/last_icon -
Additional filters:
lps/filter_sites_list,lps/filter_statuses,lps/filter_front_end_statuses,lps/filter_types,lps/filter_taxonomies,lps/usable_taxonomies,lps/card_output_types,lps/remove_donate_info,lps/load_assets_on_page,lps/exclude_ids,lps/shortcode_arguments,lps/query_arguments,lps/before_check_posts,lps/remove_update_info -
Marked as deprecated:
lps_filter_tile_patterns,lps_filter_display_posts_list,lps_filter_remove_update_info,lps_filter_use_custom_section_markup_end,lps_filter_use_custom_section_markup_start,lps_filter_use_custom_tile_markup,lps_filter_exclude_previous_content_ids,lps_filter_use_custom_shortcode_arguments,lps_filter_use_custom_query_arguments
Änderungsprotokoll
No mentions
14.3.0
- Tested up to 7.2
- PHP 8.5 compatibility
- WordPress 7.2 compatibility: the intro inner blocks template of the LPS block is now declared in the block type settings (the
templateoption ofuseInnerBlocksPropsis deprecated since 7.2), with the previous way kept for older versions - Fixed the shortcode options modal opening behind the Classic block modal of the block editor
- The block no longer saves its client id and position in the attributes (they are sent only with the editor preview request), so opening a post with LPS blocks does not mark it as edited anymore, and the “exclude previous content” items follow the order of the blocks as before
- Editor previews: a change in the shortcode of a block, in the order of the blocks, or adding, removing or duplicating a block now refreshes the previews of all the LPS blocks that follow it (the items of the previous blocks are excluded again), and masonry and filters are applied again after every preview refresh
- Blocks saved before 13.0.0 (the shortcode in the saved HTML) are now migrated by the block editor instead of showing as invalid content
- Elementor 4.4.2 compatibility: the LPS button of the widget now opens with the shortcode as it is in the widget (including the changes made in the sidebar), the shortcode configured from it (Embed) is applied to the widget and its preview updates, and the previews of the widgets that exclude the previous content follow the order and the content of the other LPS widgets (the editor asks for a new exclusion map and renders the affected widgets again)
- Fixed a fatal error on WordPress 5.5-5.8 with PHP below 8 (the code used
str_contains) - Removed the compatibility code for WordPress before 5.5 and PHP before 7.3
- The hooks
lps_filter_tile_patterns,lps_filter_display_posts_list,lps_filter_use_custom_tile_markup,lps_filter_exclude_previous_content_ids,lps_filter_use_custom_shortcode_arguments,lps_filter_use_custom_query_arguments,lps_filter_use_custom_section_markup_start,lps_filter_use_custom_section_markup_endandlps_filter_remove_update_infowere deprecated since 11.0.0-12.1.0 and will be removed in 15.0.0, use thelps/...hooks
See the changelog for detailed information on changes made in the earlier versions.
Screenshots
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Fragen und Antworten
Latest Post Shortcode: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Latest Post Shortcode free?
Yes. Latest Post Shortcode is free to download and use from the official WordPress.org plugin directory.
Is Latest Post Shortcode safe to use in 2026?
Yes — Latest Post Shortcode is a safe, well-maintained plugin to use in 2026. It runs on 4K+ sites, is rated 4.8/5 and was last updated 4 days ago, and scores 88/100 on our health check.
How many websites use Latest Post Shortcode?
Latest Post Shortcode is active on 4K+ WordPress websites and has been downloaded 169,189 times since it launched in March 2015. It was downloaded 2,724 times in the last 30 days.
Does Latest Post Shortcode work with WordPress 7.1?
Yes. The developer has tested Latest Post Shortcode up to WordPress 7.2, the latest release. It requires WordPress 5.5.0 or newer.
What PHP version does Latest Post Shortcode need?
Latest Post Shortcode requires PHP 7.3.5 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Latest Post Shortcode last updated?
The latest version, 14.3.0, was released on November 29, 2026 (4 days ago).
Who makes Latest Post Shortcode?
Latest Post Shortcode is developed and maintained by Iulia Cazan.
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
