该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Blockbuddy

描述

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

评价

2023 年 6 月 8 日
Even after 4 years (really?), I find this plugin useful in the absence of other blocks that display dynamic content. The only thing missing from this plugin is instructions, but I believe the author isn’t interested in maintaining them. Nonetheless, thank you for the plugin, which still works flawlessly on PHP8.
阅读所有0条评价

贡献者及开发者

「Blockbuddy」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Blockbuddy」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1

  • Initial Release