Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

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). 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)

Скриншоты

Установка

This section describes how to install the plugin and get it working.

e.g.

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin
  4. (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)

Отзывы

Посмотреть 1 отзыв

Участники и разработчики

«Visual Composer Templates Library» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Visual Composer Templates Library» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0

  • Released 1.0.0