Duval
Plugins
The plugins used in this template are described here.
Cherry Sidebars
Cherry Sidebars allows to create and manage your own dynamic sidebars.
Cherry Sidebars is a lightweight plugin for creating multiple widget areas, and outputting them on posts or pages of your choosing. Now you don't have to limit yourself to one widget area, instead you can create as many as you like. Group your widgets into multiple areas, and pick which one you want to display for a certain post or page.
The plugin can be useful for certain posts or pages, where you want your content to be different, for example you need to add a banner ad to your popular post, or a bio section to the 'About' page. Cherry Sidebars would be a perfect tool for this task.
An example of two custom sidebars with the widgets.
The form for creating a sidebar. Simply specify name and description for your new sidebar.
This is the sidebar manager panel that allows you to assign one of the sidebars to the current page.
Power Builder
Power builder is a brand new drag and drop page builder from TemplateMonster. It allows even non developers to build top-quality and fully functional sites for any kind of business.
Power Builder Integrator
Power Builder Integrator is specially designed to help users integrate 3d party plugins into the Content Builder.
Cherry Data Importer
This plugin will help you export posts, comments, widgets, settings etc., from one site to another. With a single click of a button the plugin generates an XML file that can be imported to another website.
After the installation the plugin adds a new block - Demo Content where you can export or import the content.
File Import
To import the content, you need to upload the XML file and press “Start Import”.
Once the import begins you will see a box with progress bars.
After the import is complete you can view the site or customize it.
File Export
To export the data, you only need to press an Export button and an XML file will be created automatically.
Customizing plugin for a specific template
?php /** * Default manifest file * * @var array */ $settings = array( 'xml' => array( 'enabled' => true, 'use_upload' => true, 'path' => false, ), 'import' => array( 'chunk_size' => $this->chunk_size, ), 'remap' => array( 'post_meta' => array(), 'term_meta' => array(), 'options' => array(), ), 'export' => array( 'message' => __( 'or export all content with TemplateMonster Data Export tool', 'cherry-data-importer' ), 'logo' => $this->url( 'assets/img/monster-logo.png' ), 'options' => array(), ), 'success-links' => array( 'home' => array( 'label' => __( 'View your site', 'cherry-data-importer' ), 'type' => 'primary', 'target' => '_self', 'url' => home_url( '/' ), ), 'customize' => array( 'label' => __( 'Customize your theme', 'cherry-data-importer' ), 'type' => 'default', 'target' => '_self', 'url' => admin_url( 'customize.php' ), ), ), );
Array Structure
xml - XML importer settings. Features:
-
- enabled
- Enable/disable XML importer
-
- use_upload
- Show/hide the files upload form
-
- path
- Path to the pre-installed sample-data
-
- import
- Import settings
-
- chunk_size
- Number of processed items at 1 importing step. The less this number is, the more steps will be during the importing process, and less time will be spent for 1 step. For this reason, it is strongly recommended to reduce this number for the themes with large sample data to avoid problems with importing files on weak servers.
-
- remap
- Data post-processing settings. Here you need to add keys with posts IDs that can be changed during the import.
-
- post_meta
- Post metadata settings.
-
- term_meta
- Terms metadata settings.
-
- options
- Options.
export - Export Settings
-
- message
- Message displayed in the export block.
-
- logo
- URL of the logo displayed in the export block.
-
- options
- Options array for the additional export.
success-links - associative array of links displayed on successful installation page. Link ID is used as a key. The plugin contains IDs for the homepage and for customizer:
-
- label
- Link text.
-
- type
- Type of displayed button (default, primary, success, danger, warning).
-
- target
- _balnk, _self
-
- url
- Link URL.