Description
Use [mngsk_recent_content] to display recent published posts or pages. It uses WordPress core APIs only and has no external dependencies or build step.
- Filter by category, post type, date range, or individual post IDs.
- Switch categories interactively with front-end category filters (buttons or dropdown), supporting both synchronous URL links and progressive Ajax enhancements.
- Configure the title, date format, NEW! mark, list layout, and optional category and post-type labels.
- Choose normal or in-place asynchronous pagination, including numbered, previous/next, and load-more styles.
- Use the Settings screen to set site-wide defaults, with a live preview.
- Style the output from the theme’s Additional CSS feature using the documented
mngsk-recent-contentCSS classes. This plugin does not accept or output arbitrary CSS.
The primary CSS classes are .mngsk-recent-content, __title, __filters, __filter, __item, __date, __type, __category, __newmark, and __pagination.
Installation
- Upload the
mngsk-recent-content-listfolder to/wp-content/plugins/, or install the ZIP from the Plugins screen. - Activate Mngsk Recent Content List.
- Insert
[mngsk_recent_content]into a page or post.
Set defaults at Settings > Mngsk Recent Content List. Explicit shortcode attributes take priority.
FAQ
-
Can I include pages?
-
Yes.
post_type="post,page"is the default. -
How can I change the appearance?
-
Use your theme’s Additional CSS feature or the Site Editor. Target the plugin’s
mngsk-recent-contentCSS classes; the plugin has no custom-CSS input field. -
Does pagination require JavaScript?
-
Only
pagination_mode="async". The defaultsyncmode works with ordinary links and no JavaScript.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Mngsk Recent Content List” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Mngsk Recent Content List” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.7.0
- Added front-end category filter support (
category_filter,category_filter_default,category_filter_style,category_filter_all) with 4 display styles: text links (links, default), underline tabs (underline), rounded pills (pills), and dropdown select (select). - Added customizable multilingual category labels (JA/EN) and display ordering in admin settings.
- Preserved explicit shortcode token ordering when
category_filteris specified. - Added
instanceattribute for independent pagination and filter state across multiple list instances on a single page. - Separated client cache keys (
category:page:mode) to eliminate duplicate entry issues during load-more prefetching. - Maintained full backward compatibility with existing shortcodes, pagination modes, and multilingual plugins (Bogo, Polylang).
1.6.4
- Fixed pagination offset calculation on subsequent pages to prevent entries from overlapping between pages.
1.6.3
- Fixed initial pagination page count in multilingual (Bogo) setups by ensuring language meta query is applied during initial page render.
1.6.2
- Added multilingual support (Bogo, Polylang) for asynchronous pagination, ensuring language filtering is preserved during Ajax page navigation.
- Preserved originating page URLs in Ajax-generated pagination links.
1.6.1
- Renamed packaged files and completed documentation updates for the
mngskpublic identifiers.
1.6.0
- Renamed the plugin and public identifiers with the distinctive
mngskprefix. - Removed the arbitrary Custom CSS setting; use theme CSS classes instead.