Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/liammartens/lazyblocks-entity-select-control

Custom control for WP LazyBlocks plugin which allows the user to select a post or taxonomy.
https://github.com/liammartens/lazyblocks-entity-select-control

Last synced: 7 days ago
JSON representation

Custom control for WP LazyBlocks plugin which allows the user to select a post or taxonomy.

Awesome Lists containing this project

README

        

# LazyBlocks: Entity Select Control
This WP plugin adds a entity selector control to [LazyBlocks](https://lazyblocks.com/).
It adds the ability to select **post types**, **taxonomies**, **posts** and **terms**.

## Notes
- The filter option will be execute with `eval` inside the array `filter` function for the selectable options. Following variables can be used:
- `entry`: Current entry being filtered
- `currentPost`: The post which is currently open in the editor