
內容簡介
一個簡單的 WordPress 外掛,用於新的 WordPress 編輯器 Gutenberg 中插入和顯示所有舊的 shortcode,同時也可在後台查看。
這個區塊讓您像原生的 WordPress Block 一樣在 Gutenberg 裡使用 Shortcodes,但是有一個新功能:您可以在後台看到(在許多情況下)類似於網站前端顯示的短碼。
有了 Gutenberg 編輯器和這個動態簡單的 Shortcode Block,現在可以很容易地查看您的 shortcode 會在網站中顯示什麼。
您沒有看到您預期的嗎?由於每個外掛和您的現行主題都可能不同,因此並不總是可能在後台如同前台看到短碼,但是此外掛允許您嘗試一些選項以改進此功能:
*選擇為每個 shortcode 區塊將一些外掛的 CSS 包含在 Gutenberg 編輯器內。
*選擇為每個 shortcode 區塊將一些外掛的 JS 包含在 Gutenberg 編輯器內。
*隱藏 / 顯示輸入框,以避免在編輯器中看到短碼(請參見第三個螢幕截圖)。
在後台使用 Gutenberg 編輯器所看到的(在許多情況下)就是前台的呈現方式!此外掛只在必要時包含選定的資源,以改善前後台的顯示效果。
反饋與支援
非常樂意收到您的反饋以改善此外掛。
如果您喜歡這個外掛,請透過支援論壇讓我知道,也請務必留下評價。
您也可以透過我的個人網頁Pablo Cianes與我聯繫,甚至訪問Simple Shortcode Block 的 Github,那裡可以找到此外掛的所有開發程式碼。
我希望這對您有所幫助,期待閱讀您的評價!😉謝謝!
外掛標籤
開發者團隊
原文外掛簡介
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!
