這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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 個可供 Gutenberg/區塊編輯器使用的區塊。

  • 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.