sandywp / plugins / category-posts
Category Posts Block
Shows a list of recent posts from a category - with thumbnails, excerpt and a load more button. For posts, pages and the Site Editor.
Ready in seconds.
v5.2.0 40,000+ installs WP 6.6+ PHP 7.2+

What you get inside
6 screens-
Front end of the block with SVG font-icon support for post formats, hover effects and post tags.
-
Block behaviour settings for each user.
-
The Template text-area with the placeholder buttons to arrange the post details.
-
The Category Posts block in the editor: Template, item title heading level and excerpt settings.
-
The Category Posts block in the editor: filter by category, status, date range, sort order and offset.
-
The Category Posts block used in the Site Editor.
About this plugin
Category Posts Block is a light block designed to do one thing and do it well: display the most recent posts from a certain category.
Category Posts Block
Use the “Category Posts” block in the Gutenberg editor to place the post list anywhere in your content. All options are available in the block sidebar panels: Title, Filter, Details, Thumbnail, Excerpt, Footer, Load more and General. Several blocks can be used on the same page, each with its own settings.
Term and Category based Posts Block
A premium version of that free block available at tiptoppress.com created for big WordPress sites.
Premium features
- Custom Post Types, Events, Products support
- Tags, custom taxonomies and authors as filters, with ANY, NOT and AND
- Auto-sizing Grid layout
- Image-Slider and News-Ticker (horizontal or vertical)
- Masonry responsive grid layout
- Query type “Matching” for tags, custom taxonomies, post type archives, author, date and search
- Custom field support in the Template
- Asymmetrical list layouts
- Full background images
- Shortcode support in the Template
- Pagination with your own link text and number of links
- Search term in the title
- All free features
- E-Mail support
- More examples on the demo pages
Features
- Block for the block editor and Site Editor.
- Query types: “Default” takes over the query of the page (e.g. archive templates), “Matching” shows posts from the category of the current archive or post, “Custom” uses the block’s own filter
- Template to arrange the post details.
- The Template text can be a post details placeholder, plain text, HTML or a font-icons.
- ‘Load more’ button / Ajax API or pagination
- Set thumbnail width & height / image crop with CSS (object-fit)
- Option show post author, comment’s count, post date
- Excerpt length and item title in lines (line-clamp)
- Option exclude current post, also inside a Query Loop
- Date range filter
- Filter by post status: Published, scheduled, private
- Add option for post offset (use two or more blocks after another)
- Show the archive title as the block title
- “Edit template” links in the category and post lists
- Item Title heading level buttons
- Option to hide posts which have no thumbnail
- Set a default thumbnail
- Option to set mouse hover effects for post thumbnail
- Fluid images (max-width in %)
- One thumb dimension can be left empty
- Font-icon support
- New date format: Time since published
- Option to touch device friendly “everything is a link”
- Hide the block text, if there is no post
- Classic editor: toolbar button to insert the shortcode
Documentation
- Full documentation
- Formatting date and time: See Formatting Date and Time
Contribute
While using this plugin if you find any bug or any conflict, please submit an issue at
Github (If possible with a pull request).
Questions
- Template, placeholder and post detail
Here You can control the Post Detail parts, which appears as part of the post item. All post detail will placed as placeholder. The text in the Template area can be a post details placeholder, plain text, HTML or HTML for SVG icons.
For more layout options please try our premium block: Term and Category based Posts Block.
- Use SVG icons
For SVG font-icon HTML we recommend the WordPress Dashicons, which are included as default and can be used without any font-icon including.
- The font-size is different from that of other blocks or Theme elements?
Use the option: ‘Disable only font style’ in the General panel.
- I want the title as a link pointing to the selected Categorie page?
Is just a single category selected in the Filter panel: Enable the check box “Make block title link”.
Is ‘All categories’ selected in the Filter panel: Use the text field ‘Title link URL’.
sandywp / also on the shelf
Try another plugin
4.6 · 4K+ installs
Latest posts widget to display recent posts from category.
5.0 · 1K+ installs
This plugin allow you to display the latest posts or latest comments in a bar with twenty seven beautiful animations and…
Relevant – Related, Featured, Latest, and Popular Posts by BestWebSoft
3.5 · 800+ installs
Add related, featured, latest, and popular posts to your WordPress website. Connect your blog readers with a relevant content.
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.