
內容簡介
Global Blocks for Cornerstone 是一個外掛,它在 Cornerstone 和 Pro 主題的網頁建構工具中提供全域內容區塊的功能。
使用自訂文章類型(CPT),您可以在 Cornerstone 中創建任何內容,保存它,並使用 Global Block 自訂元素將該內容區塊添加到任何文章或頁面中。
外掛功能
只需創建一次內容區塊,即可在多個頁面上重複使用。
在一個位置編輯該區塊,更改將反映在整個網站上。
使用 Cornerstone 或基本編輯器在自訂文章類型中創建您的內容。
使用所需的任何簡碼,所有內容在輸出之前都會經過適當的過濾處理。
支援 Cornerstone 全域區塊中的自訂 CSS 和 JS。
內建簡碼,可通過 [global_block block=”123”] 使用 Cornerstone 外的 Global Block,其中 123 是您要使用的全域區塊模板的 ID。
支援 WPML 翻譯。
支援 V2 元素的前端支援。
請注意,此外掛需要安裝和啟用 Cornerstone 網頁建構工具(或 Themeco 的 Pro 主題)。Cornerstone on CodeCanyon
V2 元素:Global Blocks 1.4 版本引入了對 V2 的部分支援。
如何:將所有 Global Blocks 轉換為新的模板管理員:在管理設定菜單中,單擊新的全域區塊輸入。在下一個頁面上,檢查確認框,然後點擊提交。這是一條單行道,因此務必先備份。
Themeco 現在已採用此插件功能,並將其實現到 Pro 版本 2+ 和 X 版本 6+ 中。如果您尚未升級 Themeco 產品,則可以繼續使用我們的 Global Blocks 插件。
刪除外掛
卸載此外掛時,它會刪除您創建的所有 Global Blocks。如果您要保留它們,只需停用外掛即可。
外掛標籤
開發者團隊
原文外掛簡介
Global Blocks for Cornerstone adds a global content block functionality to the Cornerstone and Pro Theme page builders.
Using a CPT, you will be able to create any content you want in Cornerstone, save it, and use the Global Block custom element to add that content block to any post or page.
Plugin Features
Create a content block once and reuse it on multiple pages.
Edit that block in one location and the changed will be reflected site-wide.
Use either Cornerstone or the basic editor to create your content in the custom post type.
Use any shortcodes you desire, all content will be filtered properly before output.
Supports Cornerstone custom CSS and JS in the Global Block.
Built in shortcode for using the Global Block outside of Cornerstone via [global_block block=”123″] where 123 is the ID of the global block template you want to use
WPML translation support
Front End Support for V2 Elements
Please note, this plugin requires the Cornerstone Page Builder (or the Pro Theme by Themeco) to be installed and active. Cornerstone on CodeCanyon
V2 Elements: Version 1.4 of Global Blocks introduces partial support for V2.
How To: Convert all your Global Blocks into the new template manager: In your admin settings menu, click the new global blocks entry. On the next page, check the confirmation box and hit submit. This is a one way street, so be sure to make a backup first.
Themeco has now adopted this plugin functionality and has implemented it into Pro versions 2+ and X versions 6+. You may continue to use my Global Blocks plugin if you have not yet upgraded your Themeco products.
Plugin Removal
This plugin will delete all Global Blocks that you have created upon uninstallation. If you would like to keep them, simply deactivate the plugin instead.
