這個外掛並未在最新的 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.

Blocks

This plugin provides 1 block.

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