Anything Block

説明

With the Anything Block you can print values stored in settings, post-meta and even theme-mods.

Start typing in the “Output HTML” field of the block and your HTML will be rendered directly. You can use {data} as a placeholder for your saved data.

Used in conjunction with the Gutenberg Full-Site-Editing experiment this block can be used to add various data to your templates. In WooCommerce or EDD are installed on the site, it can be even used to create custom templates for your products using the post-meta.

Examples

  • Print the site-name: {data.setting.blogname}
  • Print a link to the site-home, with the site-name as text: <a href="{data.setting.home}">{data.setting.blogname}</a>
  • Print the post-ID: {data.post.ID}
  • Print a theme-mod: {data.themeMod.my_theme_mod}
  • Print a post-meta: {data.post.meta.my_post_meta}

ブロック

このプラグインは1個のブロックを提供します。

  • Anything Block

評価

2023年10月17日
I really don't understand why more people don't use this perfect block. It has everything; custom fields and you can even use information from theme customisations. Whenever I need to insert some html quickly and it's small, I use this amazing helper. I think it's brilliant! Thanks to the author for this very useful plugin.
0件のレビューをすべて表示

貢献者と開発者

Anything Block はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Anything Block” は2ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Anything Block” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。