Este plugin no ha sido probado con ninguna las 3 últimas versiones principales de WordPress. Puede que ya no se mantenga o no tenga soporte, y puede que tenga problemas de compatibilidad cuando se utiliza con versiones más recientes de WordPress.

Anything Block

Descripción

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}

Bloques

Este plugin proporciona 1 bloque.

  • Anything Block

Reseñas

17 de Octubre de 2023
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.
Leer los 0 comentarios

Colaboradores & Desarrolladores

“Anything Block” es software de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

“Anything Block” ha sido traducido en 2 idiomas. Gracias a los traductores por sus contribuciones.

Traduce “Anything Block” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN, o suscríbete al registro de desarrollo por RSS .