| 开发者 |
smallplugins
oncecoupled zafark |
|---|---|
| 更新时间 | 2026年11月19日 00:11 |
| 捐献地址: | 去捐款 |
| PHP版本: | 5.6 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/ and activate it from the Plugins screen.Select a Query Loop block in the editor and open the settings sidebar on the right. There is a panel called Exclude Current Post with a single toggle inside it.
The toggle only appears when the Query Loop uses its own query. If Inherit query from template is switched on, the block is showing the page's main query, such as an archive or search results, where there is no single post being viewed to exclude. Switch inheriting off and the toggle appears.
No. The setting is stored on each block separately, so turning it on for one loop leaves every other loop on the page exactly as it was.
No. The current post is excluded before the posts-per-page limit is applied, so a loop set to show three posts shows three other posts.
Yes. The plugin does not care which post type a loop is querying.
No. This plugin extends the Query Loop block, so it needs the block editor.
No. It adds the current post's ID to the query's exclusion list, which is a normal part of how WordPress builds a query.