Skip to main content
Black Friday Get 50% extra hosting credits. Pay $99, get $150. 50% extra credits 50% extra credits 14h left Get $150 for $99Get it
List category posts icon

List category posts

v0.96.0
by Fernando Briano · 4.7 (254 reviews)

List Category Posts allows you to list posts by category and many other parameters in a post, page or widget. You use the [catlist] shortcode to selec …

70K+ active installs Updated Jul 07, 2026 Tested to 7.0.9 Requires PHP 5.6
Try Demo Download
Pre-installed Ready in ~10s No card

About List category posts

List Category Posts is a WordPress plugin that allows you to list posts by category using a shortcode. You can customize the display of the posts by specifying parameters such as the number of posts, the order in which they should be displayed, and the elements to include (author, date, excerpt, etc.). The plugin also includes options for styling the elements with CSS and supports pagination.

Frequently asked questions

What does the List Category Posts plugin do?
The List Category Posts plugin allows you to list posts by category on a post or page using the [catlist] shortcode. You can specify the category by ID or name.
How do I use the [catlist] shortcode?
You can insert the shortcode directly into your text. Basic usage includes [catlist id=1] or [catlist name="news"].
What customization options are available for displaying posts?
You can customize the display by specifying the order, number of posts, and whether to show the author, date, excerpt, custom field values, or content. Elements can be styled with CSS by defining an HTML tag and CSS class.
Are there global options for the plugin?
Currently, the only global option is the 'numberposts' parameter, which sets a default number of posts to show for each instance. This can be overridden by the shortcode parameter.
Can I list categories instead of posts?
No, this plugin lists posts by category. To list categories, you would need to use the 'List categories' plugin by the same author.

Changelog

See CHANGELOG.md for full Changelog.

0.95.0

  • Bugfix: Removes double slash in pagination code. Fixes https://github.com/picandocodigo/List-Category-Posts/issues/531.
  • Addresses potential security vulnerability CVE-2026-3005
  • Bugfix: lcp_title_limit corrupts multibyte characters in fallback path. Fixes https://github.com/picandocodigo/List-Category-Posts/issues/549. Thanks @jmingau for the report and fix!

0.94.0

  • Addresses CVE-2026-0553.
  • Addresses potential debug warning: Undefined array key QUERY_STRING. Report: https://wordpress.org/support/topic/php-8-4-issue-2/
  • Escapes html for thumbnail class.

0.93.1

  • Fixes a bug with post_status introduced in sanitize_status. Thanks Galen Charlton (@gmcharlt) for the catch and fix!

0.93.0

  • Don’t skip password protected filter when showing content.
  • Sanitize post_status so some posts are only shown if user is Editor or Administrator.
  • Addresses reported vulnerability: CVE-2025-11377, Authenticated (Contributor+) Information Exposure. Severity Score: 4.3 (Medium). CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N. Organization: Wordfence. Vulnerability Researcher(s): Athiwat Tiprasaharn (Jitlada)

This is a low risk vulnerability that could potentially be executed by an authenticated attacker, with contributor-level access and above. But it should be fixed with this version.

0.92.0

  • Avoids potential SQL injection in starting_with parameter – CVE-2025-10163. This solves SQL injection and results in starting_with working as per the Wiki, but the previous code also allowed things like [catlist starting_with="Hello"] which would return posts starting with “Hello” but not just with “H”. This new implementation would return both, because only the first character matters, which is ok because that’s what is documented.
  • Improves template file inclusion security. Template files when using the template parameter can only have letters, numbers, _ and - in the name. They also can only be located in the current theme’s directory under a list-category-posts directory.

0.91.0

  • Addresses CVE-2025-47636, avoids Local File Inclusion for template system. The code will remove any occurrences of the string ‘../’ in the template parameter. Templates files must be php files located in a directory named list-category-posts under wp-content/themes/your-theme-folder.
    https://www.cve.org/CVERecord?id=CVE-2025-47636

0.90.3

  • Hardens xss fix for script tag by checking case insensitive and using tag_escape.

0.90.2

  • Updates fix for stored cross-site scripting from 0.90.0, now applied to all tags. From this version onwards, script is not available to use as a tag when setting an element’s tag in the shortcode.

0.90.1

  • Fix PHP 8.2 deprecation notices
  • Remove empty anchor tags from widget morelink

0.90.0

  • Fixes a Stored Cross-Site Scripting issue using excerpt_tag='script'.

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…

$750 of hosting credits for $499.Black Friday