Опис
A plugin to extend WordPress Gutenberg editor and allow for dynamic blocks to be built using custom queries.
Custom Query Block
Our first block, Custom Query Block allow for dynamic blocks to be built using custom queries.
The Custom Query Block comes with 3 basic templates which are stored in the plugin /templates directory.
You can override or create your own templates for the block to use by creating a /template-parts/blocks/ sub folder in your theme.
The plugin will scan active themes for this directory and pull in all PHP templates from this directory so you can select them
via the Custom Query Block inspector settings.
Templates can contain anything you like and you’ll have access to the $attributes array which has all the selection data for
that particular block, as well as the $post_query object for that block.
Features
- Developer Friendly
- User Friendly
- Custom Templates
Блоки
Цей плагін надає 1 блок.
- Custom Query
Відгуки
Учасники та розробники
“Blockbuddy” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Blockbuddy” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
0.1
- Initial Release