Submit
Path:
~
/
home
/
getwphos
/
www
/
shellfish
/
wp-content
/
themes
/
amanus
/
helpers
/
File Content:
data-install.php
<?php add_filter( 'templaza-framework-importer', 'amanus_import_demos' ); function amanus_import_demos($value) { $value = array( 'envatoid' => 44422467, 'productname' => 'Amanus - Boat, Yacht Charter WordPress Theme', 'demo-imports' => array( 'wp_amanus_pack' => array(// Pack Info 'slug' => 'wp_amanus', // Produce code created on server 'title' => esc_html__('Amanus Demo','amanus'), 'desc' => esc_html__('Amanus - Boat, Yacht Charter WordPress Theme','amanus'), 'front_page' => true, 'front_page_title' => 'Home version 1', 'menu_locations' => array( array( 'title' => 'Main Menu', 'location' => 'primary' ), ), // Pack Data 'thumb' => ''.get_stylesheet_directory_uri() .'/assets/images/home.jpg', 'category' => 'wordpress', 'demo_url' => 'https://amanus.templaza.net', 'doc_url' => 'https://docs.templaza.com/themes/amanus', 'plugins' => array ( // This is an example of how to include a plugin pre-packaged with a theme array( 'name' => esc_html__('TemPlaza Framework', 'amanus'), /* The plugin name */ 'slug' => 'templaza-framework', /* The plugin slug (typically the folder name) */ 'source' => 'https://templaza.net/plugins/templaza-framework.zip', /* The plugin source */ 'required' => true, /* If false, the plugin is only 'recommended' instead of required */ 'version' => '1.2.0', /* E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented */ 'force_activation' => false, /* If true, plugin is activated upon theme activation and cannot be deactivated until theme switch */ 'force_deactivation' => false, /* If true, plugin is deactivated upon theme switch, useful for theme-specific plugins */ 'external_url' => '', /* If set, overrides default API URL and points to an external URL */ ), array( 'name' => esc_html__('UiPro', 'amanus'), /* The plugin name */ 'slug' => 'uipro', /* The plugin slug (typically the folder name) */ 'source' => 'https://templaza.net/plugins/uipro.zip', /* The plugin source */ 'required' => true, /* If false, the plugin is only 'recommended' instead of required */ 'version' => '1.0.7', /* E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented */ 'force_activation' => false, /* If true, plugin is activated upon theme activation and cannot be deactivated until theme switch */ 'force_deactivation' => false, /* If true, plugin is deactivated upon theme switch, useful for theme-specific plugins */ 'external_url' => '', /* If set, overrides default API URL and points to an external URL */ ), array( 'name' => esc_html__('Advanced Product', 'amanus'), /* The plugin name */ 'slug' => 'advanced-product', /* The plugin slug (typically the folder name) */ 'source' => 'https://templaza.net/plugins/advanced-product.zip', /* The plugin source */ 'required' => true, /* If false, the plugin is only 'recommended' instead of required */ 'version' => '1.0.9', /* E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented */ 'force_activation' => false, /* If true, plugin is activated upon theme activation and cannot be deactivated until theme switch */ 'force_deactivation' => false, /* If true, plugin is deactivated upon theme switch, useful for theme-specific plugins */ 'external_url' => '', /* If set, overrides default API URL and points to an external URL */ ), array( 'name' => esc_html__('DealerShip', 'amanus'), /* The plugin name */ 'slug' => 'dealership', /* The plugin slug (typically the folder name) */ 'source' => 'https://templaza.net/plugins/dealership.zip', /* The plugin source */ 'required' => true, /* If false, the plugin is only 'recommended' instead of required */ 'version' => '1.0.2', /* E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented */ 'force_activation' => false, /* If true, plugin is activated upon theme activation and cannot be deactivated until theme switch */ 'force_deactivation' => false, /* If true, plugin is deactivated upon theme switch, useful for theme-specific plugins */ 'external_url' => '', /* If set, overrides default API URL and points to an external URL */ ), array( 'name' => esc_html__('Slider Revolution','amanus'), // The plugin name 'slug' => 'revslider', // The plugin slug (typically the folder name) 'source' => get_template_directory() . '/plugins/revslider.zip', // The plugin source 'required' => true, // If false, the plugin is only 'recommended' instead of required 'version' => '6.7.18', // E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented 'force_activation' => false, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch 'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins 'external_url' => '', // If set, overrides default API URL and points to an external URL ), array( 'name' => esc_html__('Redux Framework', 'amanus'), /* The plugin name */ 'slug' => 'redux-framework', /* The plugin slug (typically the folder name) */ 'required' => true, ), array( 'name' => 'Elementor Website Builder', 'slug' => 'elementor', 'required' => true, ), array( 'name' => 'WooCommerce', 'slug' => 'woocommerce', 'required' => true, ), array( 'name' => 'WCBoost – Variation Swatches', 'slug' => 'wcboost-variation-swatches', 'required' => true, ), array( 'name' => 'YITH WooCommerce Wishlist', 'slug' => 'yith-woocommerce-wishlist', 'required' => true, ), array( 'name' => 'Contact Form by WPForms', 'slug' => 'wpforms-lite', 'required' => true, ), ), 'demo-datas' => array( array( 'title' => esc_html__('Default Content', 'amanus'), 'desc' => esc_html__('This will import posts, pages, media and menu', 'amanus'), 'slug' => 'wp_amanus_fulldata', 'checked' => true, ), array( 'title' => esc_html__('Elementor Settings', 'amanus'), 'desc' => esc_html__('This will import Elementor settings', 'amanus'), 'slug' => 'wp_amanus_elementor', 'demo_type' => 'elementor', 'checked' => true, ), array( 'title' => esc_html__('Widgets', 'amanus'), 'desc' => esc_html__('This will import default widgets presented in demo site of this content package.', 'amanus'), 'slug' => 'wp_amanus_widget', 'demo_type' => 'widget-importer', 'checked' => true, ), array( 'title' => esc_html__('WPForms', 'amanus'), 'desc' => esc_html__('This will import WPForms.', 'amanus'), 'slug' => 'wp_amanus_form', 'demo_type' => 'wpforms', 'checked' => true, ), array( 'title' => esc_html__('Slider', 'amanus'), 'desc' => esc_html__('This will import slider.', 'amanus'), 'slug' => 'wp_amanus_slider', 'demo_type' => 'revslider', 'checked' => true, ), ) ), ) ); return $value; }
Submit
FILE
FOLDER
Name
Size
Permission
Action
woocommerce
---
0755
data-install.php
9808 bytes
0644
helper.php
1595 bytes
0644
theme-color.php
28209 bytes
0644
theme-functions.php
16472 bytes
0644
N4ST4R_ID | Naxtarrr