
內容簡介
如果您的網站在多個頁面上顯示相同的內容,最好只保留一份此內容副本,並在需要進行整個網站更改時進行編輯。
Blocksolid Snippets 插件可讓您使用專用的自定義文章類型管理這些"片段"內容。
在 Classic Editor 中,可以使用簡單的短代码來召喚 Snippets,例如:
[blocksolid_snippet post_title=”My Snippet”]
如果您使用 Gutenberg,我們提供的 Snippets 塊可讓您從列表中選擇並在頁面內進行實時預覽。
您的 Snippet 可包含格式化文本、圖像、視頻、[短代码]、HTML、Gutenberg 塊,以及任何有效的 WordPress 內容。
如果您正在使用我們獨立的 Blocksolid 插件作為頁面生成器和 Gutenberg 覆蓋層,Blocksolid Snippets 插件也與此相容。
Blocksolid Snippets 功能
代碼片段包含在自定義文章類型中,然後可以通過 Gutenberg 塊或簡單的短碼進行調用
外掛標籤
開發者團隊
原文外掛簡介
If your website shows the same content on multiple pages it’s best to just keep one copy of this content and to edit that if you need to make site-wide changes.
The Blocksolid Snippets plugin lets you manage these “snippets” of content using a dedicated custom post type.
In the Classic Editor Snippets can be conjured using a simple shortcode such as:
[blocksolid_snippet post_title=”My Snippet”]
If you use Gutenberg our included Snippets block allows you to choose your snippet from a list and live-preview it within your page.
Your snippet can contain formatted text, images, videos, [shortcodes], HTML, gutenberg blocks, any valid WordPress content.
If you are using our separate Blocksolid plugin as a page builder and Gutenberg overlay the Blocksolid Snippets plugin also integrates well with this.
Blocksolid Snippets Features
Snippets of code are contained in a custom post type that can then be called via a Gutenberg block or a simple shortcode
