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로 구독하세요.