Title: Current User Posts
Author: Tiegan Benson
Published: <strong>16 Tháng 8, 2025</strong>
Last modified: 24 Tháng 5, 2026

---

Tìm kiếm plugin

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

![](https://ps.w.org/current-user-posts/assets/icon-256x256.png?rev=3546571)

# Current User Posts

 Bởi [Tiegan Benson](https://profiles.wordpress.org/sagirisdev/)

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

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

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

## Mô tả

Current User Posts lets you display posts created by the logged in user automatically
in a block theme.

This block is essential for creating member’s only areas on your website. Displaying
the posts of the current user dynamically is an industry-standard feature of online
membership systems, and Current User Posts brings that to the Block Editor.

### Usage

A valid user id is required for this block to work, so it must be placed in a context
that is only available to logged in users.

Only logged in users should be able to see the block.

### Donate

https://sagirisdev.com/donate

## Ảnh màn hình

 * [[
 * A rudimentary example of the Current User Posts block against the Query Loop 
   block.
 * [[
 * Using the block in the editor.

## Khối

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

 *   Current User Posts Display the posts created by the current user.

## Cài đặt

 * Upload the plugin files to the `/wp-content/plugins/current-user-posts` directory,
   or install the plugin through the WordPress plugins screen directly.

## Hỏi đáp

### I see my posts show up in the block editor instead of the user’s.

That means the block is working. Since you are the current user when working in 
the block editor, your posts will be displayed in the block. When another user logs
in and views the block, they will see posts they created.

### Can I add, remove, or rearrange the inner blocks?

The block supports ONLY one instance of the Query Loop block inside of it. However,
you can change the blocks inside of the inner Query Loop block.

### I’ve inserted the block onto my page, but I’m not seeing my posts.

Make sure you have posts of the selected post type to display. If your selected 
pattern doesn’t contain a no-results block, you will not see a message alerting 
you that there aren’t any posts of that post type to display.

### The block says I need to log in to see my posts.

This block is only meant to be seen by registered users of the website, i.e. they
must be a WordPress user with a valid user account. Any visitor to the website who
isn’t logged in to an account will not be able to see posts in the block. The block
should only be visible to users after they have logged in.

## Đánh giá

Không có đánh giá nào cho plugin này.

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

“Current User Posts” 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

 *   [ Tiegan Benson ](https://profiles.wordpress.org/sagirisdev/)

[Dịch “Current User Posts” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/current-user-posts)

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

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

## Nhật ký thay đổi

#### 0.2.0

 * Fix: block now returns complete markup when no user is logged in (previously 
   left an unclosed `<div>`).
 * Fix: PHP parse error caused by Unicode smart quotes in the main plugin file.
 * Fix: editor warning caused by React hooks being called conditionally in the query
   filter.
 * Fix: `setAttributes` is no longer called during render; the author sync now runs
   inside an effect.
 * Fix: the inner Query Loop’s `inherit` default is now `false` everywhere, so the
   author filter is never bypassed by archive context.
 * Fix: namespace resolution error for `WP_Block` in the render path.
 * Improvement: refactored into separate Plugin, Block_Registrar, and Block_Renderer
   classes.
 * Improvement: uses the optimised block registration APIs on WordPress 6.7+ and
   6.8+, with a fallback loop for earlier versions.

#### 0.1.0

 * Initial release.

## Meta

 *  Phiên bản **0.2.0**
 *  Cập nhật lần cuối **3 ngày trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 6.7 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/current-user-posts/)
 * Thẻ
 * [block](https://vi.wordpress.org/plugins/tags/block/)[current user](https://vi.wordpress.org/plugins/tags/current-user/)
   [members](https://vi.wordpress.org/plugins/tags/members/)[query](https://vi.wordpress.org/plugins/tags/query/)
   [user posts](https://vi.wordpress.org/plugins/tags/user-posts/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/current-user-posts/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

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

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

 *   [ Tiegan Benson ](https://profiles.wordpress.org/sagirisdev/)

## 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/current-user-posts/)