Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

Query Loop Exclude Posts

Descrizione

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’

Screenshot

Recensioni

23 Febbraio 2025
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!
Leggi la recensione di 1

Contributi e sviluppo

“Query Loop Exclude Posts” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Changelog

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