Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/liammartens/lazyblocks-entity-select-control
- Owner: LiamMartens
- Created: 2021-10-01T21:16:03.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T13:41:37.000Z (almost 2 years ago)
- Last Synced: 2024-10-18T16:14:10.865Z (18 days ago)
- Language: TypeScript
- Size: 203 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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