Title: Flex Posts &#8211; Widget and Gutenberg Block
Author: Tajam
Published: <strong>10 Tháng 5, 2018</strong>
Last modified: 5 Tháng 12, 2025

---

Tìm kiếm plugin

![](https://ps.w.org/flex-posts/assets/banner-772x250.png?rev=1871802)

![](https://ps.w.org/flex-posts/assets/icon-128x128.png?rev=1871802)

# Flex Posts – Widget and Gutenberg Block

 Bởi [Tajam](https://profiles.wordpress.org/tajam/)

[Tải về](https://downloads.wordpress.org/plugin/flex-posts.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/flex-posts/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/flex-posts/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/flex-posts/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/flex-posts/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/flex-posts/)

## Mô tả

Flex Posts is a widget to display posts in various different layouts. It is useful
for a news site where you need to display a lot of posts in a page.

The widget is responsive so you can place it in any widget area. The widget content
will adapt based on the width of its container. In a narrow area like standard sidebar,
posts will be displayed vertically, but in a wider area, posts will be displayed
in 2 or 3 columns depends on the container’s width.

#### Widget Settings

 * **Title**: Set the widget title. Leave it empty to hide the title section.
 * **Title URL**: Set the title link url. Leave it empty to disable link in the 
   title.
 * **Layout**: Select a widget layout, from layout 1 to 4.
 * **Post type**: Select the post type. Options include: Post, Page, custom post
   types if available, and any.
 * **Category**: Select a category for the posts, or choose All Categories to disable
   this filter.
 * **Tag(s)**: Set a post tag (using the tag slug). You can also use comma separated
   value for multiple tags. Prepending a tag with a hyphen will exclude posts matching
   that tag. Eg, `featured, -video` will show posts tagged with `featured` but not`
   video`.
 * **Order by**: Set the order in which the posts will be displayed. Options include:
   Newest, Oldest, Most Commented, Alphabetical, Random, Modified Date, Page order.
 * **Number of posts to show**: Set the number of posts displayed.
 * **Number of posts to skip**: Set the number of posts to displace or pass over.
 * **Exclude current post**: Choose to show or hide current post.
 * **Show image on**: Select in which posts the image will be displayed. Options
   include: All posts, First post only, or none.
 * **Image size**: Select image size from registered image sizes.
 * **Show post title**: Choose to show or hide the post title.
 * **Show categories**: Choose to show or hide the categories.
 * **Show author**: Choose to show or hide the author.
 * **Show author image**: Choose to show or hide the author image.
 * **Show date**: Choose to show or hide the date.
 * **Show comments number**: Choose to show or hide the comments number.
 * **Show excerpt**: Choose to show or hide the excerpt
 * **Excerpt length**: Set the number of words for the excerpt.
 * **Show read more link**: Choose to show or hide the Read More link.
 * **Read more text**: Set the text for the read more link. You can leave it empty
   to use the default text `Read More`.
 * **Show pagination**: Choose to show or hide the pagination links.
 * **Block title HTML element**: Choose the HTML element for the block title. Options
   include: h1, h2, h3, h4, h5, h6, div, p, span.
 * **Post title HTML element**: Choose the HTML element for the post title. Options
   include: h1, h2, h3, h4, h5, h6, div, p, span.
 * **Additional class(es)**: Set a custom class for the widget container. You can
   use spaces to separate multiple classes.

#### Gutenberg Block

Since version 1.1.0, Flex Posts also includes a gutenberg block. You can add the
widget directly into the post/page content with the WP 5.0 block editor.

#### Demo

Please visit the live demo here: [Flex Posts Demo](https://tajam.id/flex-posts-demo/)

#### Requirements

This plugin has been tested and works with at least PHP 5.3 installed in your environment.
But we strongly recommend you to use the latest PHP version, as using older versions
may expose you to security vulnerabilities.

## Ảnh màn hình

 * [[
 * Widget settings
 * [[
 * Widget settings / Filter
 * [[
 * Widget settings / Display
 * [[
 * Layout 1 in sidebar
 * [[
 * Layout 1 in content area
 * [[
 * Layout 2 in sidebar
 * [[
 * Layout 2 in content area
 * [[
 * Layout 3 in sidebar
 * [[
 * Layout 3 in content area
 * [[
 * Layout 4
 * [[
 * Block editor

## Khối

Plugin này cung cấp 1 khối.

 *   Flex Posts

## Cài đặt

 1. Upload the `flex-posts` directory to the `/wp-content/plugins/` directory.
 2. In your WordPress dashboard, go to Plugins, search for Flex Posts and click Activate.
 3. Go to Appearance » Widgets to add Flex Posts widget into your widget area.
 4. You can also insert the widget from post/page edit screen. Click Add block button,
    go to Widgets section, and click Flex Posts to add the widget into your content
    area.

## Đánh giá

![](https://secure.gravatar.com/avatar/2f47a4fd3ac055d7589efa0e15cd2de75c87c7b6c76931ef7fa9578f53e716b1?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-39372/)󠁿

 [byermedia](https://profiles.wordpress.org/byermedia/) 20 Tháng 8, 2024

Very nice plugin, allows you make custom layouts with ease, I tried a lot of display
post content plugin and by far this one is the best so far. However could use improvement.
Total agree with the review “Almost perfect”. I’m using on very large websites and
the bigger problem for me is unable to Exclude certain categories from showing, 
i’m just nit picking.

![](https://secure.gravatar.com/avatar/9951b8075158948825743d44f46c7108908b0e75a779b553705a51d770dcac91?
s=60&d=retro&r=g)

### 󠀁[Practical and effective](https://wordpress.org/support/topic/practical-and-effective-2/)󠁿

 [SomniumLucidus](https://profiles.wordpress.org/somniumlucidus/) 17 Tháng 4, 2024

Does what it’s meant to do, and does it well. No fuss, no fluff, and good support
to boot!

![](https://secure.gravatar.com/avatar/d9771bc18cd2dc9f943285b8991604b9daa4e9c946c102fe5588c3c25ac52295?
s=60&d=retro&r=g)

### 󠀁[Very Easy to Use](https://wordpress.org/support/topic/very-easy-to-use-679/)󠁿

 [UncleMorty](https://profiles.wordpress.org/unclemorty/) 3 Tháng mười một, 2022

I wanted a widget that would display a single post; one of my choice. This simple
plugin isn’t really intended to do that, but it’s very easy to use and friendly.
The plugin allows you to query a keyword, so I just added a unique keyword to my
post, and specified that word in the plugin’s config, and set the number of posts
to display to 1, simple! And I like the way it looks so much, I’ll be using the 
plugin after I’m done with the single post I wanted it for.

![](https://secure.gravatar.com/avatar/bd43b1a462b1ef55b1fde36672af1e671a8ba6c3146b57ebf4681ac21b704fa9?
s=60&d=retro&r=g)

### 󠀁[WordPress needs more plugins that display posts](https://wordpress.org/support/topic/wordpress-needs-more-plugins-that-display-posts/)󠁿

 [consumerista](https://profiles.wordpress.org/consumerista/) 25 Tháng 4, 2022

Haven’t got to use it extensively yet but there’s a real need for plugins like this.
Display recent posts block in core is really bad and not the easiest to customize
with CSS. Keep up the good work

![](https://secure.gravatar.com/avatar/fbb4301cf05de13ec063bf62a7854d40a6bade2aaf08085d72890bb5f333d295?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-9187/)󠁿

 [wowthemesnet](https://profiles.wordpress.org/wowthemesnet/) 21 Tháng 3, 2022

Excellent plugin, congratulations.

![](https://secure.gravatar.com/avatar/aecbe9e89f357d9eeaf00958ddf9a9997d9631b58faf2556a9dd94ef5bdfe1b0?
s=60&d=retro&r=g)

### 󠀁[great plugin & fantastic support!](https://wordpress.org/support/topic/great-plugin-fantastic-support-116/)󠁿

 [philfil](https://profiles.wordpress.org/philfil/) 1 Tháng 12, 2021

great plugin & fantastic support!

 [ Đọc tất cả 24 đánh giá ](https://wordpress.org/support/plugin/flex-posts/reviews/)

## Người đóng góp & Lập trình viên

“Flex Posts – Widget and Gutenberg Block” là mã nguồn mở. Những người sau đã đóng
góp vào plugin này.

Những người đóng góp

 *   [ Tajam ](https://profiles.wordpress.org/tajam/)

“Flex Posts – Widget and Gutenberg Block” đã được dịch qua 2 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/flex-posts/contributors)
vì đóng góp của họ.

[Dịch “Flex Posts – Widget and Gutenberg Block” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/flex-posts)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/flex-posts/), check out 
[SVN repository](https://plugins.svn.wordpress.org/flex-posts/), hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/flex-posts/)
qua [RSS](https://plugins.trac.wordpress.org/log/flex-posts/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.12.0

 * Updated compatibility to WordPress 6.9
 * Fixed author image hover style
 * Fixed block settings label translations
 * Fixed block style in Appearance » Widgets page

#### 1.11.0

 * Fixed a php error in widget title
 * Added show author image option

#### 1.10.0

 * Added options page
 * Added disable css option
 * Added disable image size option

#### 1.9.0

 * Fixed style not loaded on widget
 * Fixed layout 3 style in full width page
 * Added post title element option
 * Added block title element option
 * Added exclude current post option
 * Added custom order option

#### 1.8.1

 * Fixed widget admin script
 * Added minified style

#### 1.8.0

 * Fixed excerpt function
 * Fixed block deprecated warnings
 * Added show post title option
 * Added rtl style
 * Added image size option
 * Added additional classes option in widget
 * Added conditional logic to the widget/block settings
 * Added disable links in the editor
 * Changed Filter label to Query

#### 1.7.1

 * Fixed language file path

#### 1.7.0

 * Fixed the_date filter bug
 * Added order by modified date
 * Added any post type

#### 1.6.0

 * Fixed excerpt length value bug
 * Fixed compatibility with older WordPress 5.x versions
 * Added alignwide and alignfull support
 * Optimized query results
 * Updated block registration to init hook

#### 1.5.0

 * Fixed styles for WordPress default themes
 * Fixed other styling issues
 * Fixed a notice in thumbnail display
 * Updated compatibility to WordPress 5.3
 * Updated widget css load to lower priority
 * Updated args filter hook

#### 1.4.1

 * Fixed css not loaded correctly

#### 1.4.0

 * Added title URL
 * Added excerpt length
 * Added read more
 * Added pagination
 * Added exclude tags
 * Updated order by random to work with skip
 * Removed post number & skip limit

#### 1.3.0

 * Added post type option
 * Added show image option
 * Added a filter hook to set template directory
 * Updated template tags to make the functions pluggable

#### 1.2.0

 * Added a new layout (Layout 4)
 * Added filter by tags
 * Added order by random
 * Added a filter hook to modify block title
 * Updated image size filter hook
 * Updated row class & styling (changed fp-posts to fp-row)

#### 1.1.1

 * Fixed excerpt display function

#### 1.1.0

 * Added gutenberg block
 * Fixed some style issues

#### 1.0.1

 * Fixed compatibility with old php versions

#### 1.0.0

 * Initial Release.

## Meta

 *  Phiên bản **1.12.0**
 *  Cập nhật lần cuối **4 tháng trước**
 *  Số lượt cài đặt **3.000+**
 *  Phiên bản WordPress ** 5.2 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.9.4**
 *  Ngôn ngữ
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/flex-posts/), [English (US)](https://wordpress.org/plugins/flex-posts/),
   và [Swedish](https://sv.wordpress.org/plugins/flex-posts/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/flex-posts)
 * Thẻ
 * [magazine](https://vi.wordpress.org/plugins/tags/magazine/)[news](https://vi.wordpress.org/plugins/tags/news/)
   [posts list](https://vi.wordpress.org/plugins/tags/posts-list/)[posts-widget](https://vi.wordpress.org/plugins/tags/posts-widget/)
   [responsive](https://vi.wordpress.org/plugins/tags/responsive/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/flex-posts/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  23 5-star reviews     ](https://wordpress.org/support/plugin/flex-posts/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/flex-posts/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/flex-posts/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/flex-posts/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/flex-posts/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/flex-posts/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/flex-posts/reviews/)

## Những người đóng góp

 *   [ Tajam ](https://profiles.wordpress.org/tajam/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/flex-posts/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://tajam.id/)