[WordPress] 外掛分享: Visual Composer Templates Library

WordPress 外掛 Visual Composer Templates Library 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Visual Composer Templates Library」是 2017-07-03 上架。
  • 目前有 900 個安裝啟用數。
  • 上一次更新是 2017-07-04,距離現在已有 2860 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.2.0 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

sophierepo |

外掛標籤

visual composer | template default | visual composer template |

內容簡介

這個外掛提供了一個框架,可用於創建主題和外掛,並利用 Visual Composer 內置的模板功能(從版本4.4開始)。它通過從主題(和可選插件)文件夾中加載模板,使得以簡單的方式控制模板版本成為可能。

Visual Composer 模板庫

這個外掛提供了一個框架,可用於創建主題和外掛,並利用 Visual Composer 內置的模板功能(從版本4.4開始)。

視頻演示:

它通過從主題(和可選插件)文件夾中加載模板,使得以簡單的方式控制模板版本成為可能。

建立模板

創建模板非常容易。首先在 Visual Composer 中創建一個佈局。(例如,通過創建具有所需佈局的新頁面)

完成後,單擊「經典模式」按鈕返回 TinyMCE WYSISYG,然後單擊「Text」頁籤。現在,您可以將佈局的內容複製到模板中!

工作流程:
screenshot-1. (png|jpg|jpeg|gif)

在主題中使用

要將模板與您的主題捆綁在一起,請創建文件夾:

/your-theme/vc_templates

然後,創建一個文件,例如:

/your-theme/vc_templates/my-template.php

唯一的要求是文件必須具有 .php 擴展名。

將您從上面的「建立模板」部分得到的模板粘貼到其中,然後當您單擊 Visual Composer 中的模板 > 默認模板時,您將看到一個名為「My Template」的新模板。完成了!

工作流程:
screenshot-2. (png|jpg|jpeg|gif)

原文外掛簡介

This plugin provides a framework for creating themes and plugins that utilize the built-in template function in Visual Composer (as of version 4.4). It works by loading templates from files in your theme (and optionally plugin) folders, making it possible to version control templates in a simple way.
Visual Composer Templates Library
This plugin provides a framework for creating themes and plugins that utilize the built-in template function in Visual Composer (as of version 4.4)
Video Demo:

It works by loading templates from files in your theme (and optionally plugin) folders, making it possible to version control templates in a simple way.
Building templates
Building a template is easy. Start out by creating a layout in Visual Composer. (For example, by creating a new page with the layout you want.)
When you are done, click the “Classic mode” button to return to the TinyMCE WYSISYG, and then click on the Text tab. Now you can copy the content of your layout into a template!
Workflow:
screenshot-1.(png|jpg|jpeg|gif)
Using in a theme
To bundle templates with your theme, create the folder:
/your-theme/vc_templates

Then, create a file, for example:
/your-theme/vc_templates/my-template.php

The only requirement is that the file has a .php extension.
Paste the template you got from the “Building templates” section above, and you will see a new template called “My Template” after you click on Templates > Default Templates in Visual Composer. You’re done!
Workflow:
screenshot-2.(png|jpg|jpeg|gif)

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Visual Composer Templates Library」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon