Title: Query Loop Exclude Posts
Author: ColinD
Published: <strong>2024 年 12 月 20 日</strong>
Last modified: 2025 年 1 月 20 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/query-loop-exclude-posts.svg)

# Query Loop Exclude Posts

 由 [ColinD](https://profiles.wordpress.org/colind/) 開發

[下載](https://downloads.wordpress.org/plugin/query-loop-exclude-posts.1.1.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/query-loop-exclude-posts/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/query-loop-exclude-posts/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/query-loop-exclude-posts/#developers)

 [技術支援](https://wordpress.org/support/plugin/query-loop-exclude-posts/)

## 外掛說明

Extends the Query Loop Block to allow excluding specific posts.

 1. Provides controls in the Query Loop Block Select specific posts by title.
 2. Provides a toggle to exclude the current post.

Works with whichever post type is set for the query loop Block (Post, Page, etc)

“Exclude Current Post” is helpful for “related posts” patterns often used on a single

post template. Using this option on the query loop block will let it pull in posts
but not the single post currently being viewed.

### Development and Support

wp
 This plugin is developed on Github. You can find the uncompressed source javascript
and submit issues and pull requests there: https://github.com/colinduwe/exclude-
posts

If you’ve checked out the full source code either from my repo or your own fork 
you’ll
 want to do the following in your terminal: 1. Navigate within this plugin’s
directory. 2. Install the development dependencies by running ‘npm install’ 3. Work
on the plugin code by running ‘npm start’ 4. Complete your work by building for 
production by running ‘npm run build’

## 螢幕擷圖

[⌊The controls are added to the query loop block's settings sidebar.⌉⌊The controls
are added to the query loop block's settings sidebar.⌉[

The controls are added to the query loop block’s settings sidebar.

## 使用者評論

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

### 󠀁[Does exactly what it says!](https://wordpress.org/support/topic/does-exactly-what-it-says-264/)󠁿

 [Ryan Townley](https://profiles.wordpress.org/ryantown/) 2025 年 2 月 23 日

Yet another feature that should be in the core Query Loop block, but is not. This
plugin comes to the rescue! Perfect for excluding posts when an offset isn’t enough
or excluding the current post when using the Query Loop block for “latest posts”
in the sidebar or footer, for example. Thanks!

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/query-loop-exclude-posts/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Query Loop Exclude Posts〉的開發相關工作。

參與者

 *   [ ColinD ](https://profiles.wordpress.org/colind/)

[將〈Query Loop Exclude Posts〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/query-loop-exclude-posts)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/query-loop-exclude-posts/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/query-loop-exclude-posts/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/query-loop-exclude-posts/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/query-loop-exclude-posts/)。

## 變更記錄

#### 1.1.0

 * Fixed bug when used in the Site Editor where the exclude current post toggle
   
   would cause an error resulting in an endlessly spinning loading wheel in the 
   query loop.

#### 1.0.0

*initial release

## 中繼資料

 *  版本 **1.1.0**
 *  最後更新 **1 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 6.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.7.5**
 *  PHP 版本需求 ** 8.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/query-loop-exclude-posts/)
 *  [進階檢視](https://tw.wordpress.org/plugins/query-loop-exclude-posts/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/query-loop-exclude-posts/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/query-loop-exclude-posts/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/query-loop-exclude-posts/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/query-loop-exclude-posts/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/query-loop-exclude-posts/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/query-loop-exclude-posts/reviews/)

## 參與者

 *   [ ColinD ](https://profiles.wordpress.org/colind/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/query-loop-exclude-posts/)