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

Simple Shortcode Block

描述

A simple block to the new WordPress editor Gutenberg to insert and show also in the backend all your old shortcodes.

This block allows you to work with shortcodes into Gutenberg like the native WordPress Block, but with a new feature: You can see ( in many case ) the shortcodes in the backend in a similar way as render in the frontend of the web

Now is very easy to see what your shortcodes are going to show in the web thanks of Gutenberg and this dynamic simple shortcode block.

Do not you see what you expected? Not always is possible to see the shortcode in the backend as in the frontend because of it is depend on each plugin and also your active theme, but this plugin allow you to try with some options to improve this:
*Select to include some CSS of the plugin into Gutenberg editor for each shortcode block.
*Select to include some JS of the plugin into Gutenberg editor for each shortcode block.
*Hide / Show the input where you put the shortcode to avoid to see it into the editor (see the third Screenshot).

What You See in the backend with Gutenberg editor Is ( in many case ) What You Get! and the plugin only enqueue the selected assets if it is necesary to improve the apparience between backend and frontend.

Feedback and support

I would be happy to receive your feedback to improve this plugin.
Please let me know through support forums if you like it and please be sure to leave a review..

Also you can contact me on my personal page Pablo Cianes or even visit Github of Simple Shortcode Block where you can find all the development code of this plugin.

I hope it is useful for you and look forward to reading your reviews! 😉 Thanks!

屏幕截图

  • Example with the plugin: Contact Form 7.
  • Example with the plugin: WooCommerce.
  • Example with the plugin: Shortcodes Ultimate.

区块

该插件提供了 1 个区块.

  • Dynamic Shortcode

安装

  1. Upload simple-shortcode-block.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Search into post the blue block Dynanmic Shortcode into Widgets category.

常见问题

What can I do with this plugin?

You can create very easily a dynamic shortcode block into Gutenberg with your favourites shortcodes and ( in many case ) see in backend a similar render of what you see in the frontend.

How do I setup this plugin?

Just insert it like others blocks this blue block Dynanmic Shortcode into Widgets category.
You can see into Gutenberg render your shortcodes very easly and dynamic.

评价

2019 年 9 月 5 日 1 回复
WordPress shortcode block should get noticed about this awesome block The shortcode live preview is fantastic to preview how the different attributes works on a shortcode Thanks for the plugin!
阅读所有2条评价

贡献者及开发者

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

贡献者

「Simple Shortcode Block」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Simple Shortcode Block」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.0.2

  • Fix notice.

1.0.1

  • Compatible with WP5.0

1.0.0

  • First publicly available version.