An open API service indexing awesome lists of open source software.

https://github.com/wpperformance/wp-performance-related-query-block

Remove current post in query block
https://github.com/wpperformance/wp-performance-related-query-block

gutenberg wordpress wordpress-plugin

Last synced: about 2 months ago
JSON representation

Remove current post in query block

Awesome Lists containing this project

README

          

# wp-performance-related-query-block

## Beta, use it with careful

Plugin for remove current post when you use a query block post in page post

Actualy, for version 6.1 of WordPress, it's not possible to filter id of current post in query block for remove it.
When you add Query Block in page, you can see the current post in result of query block.

This plugin, parse html for remove current post in query block.

## how to use it

Just add class ```wpp-related-query``` in your query loop block.

![add classe in query loop block](./classes-related.png)