Submit
Path:
~
/
home
/
getwphos
/
public_html
/
shellfish
/
wp-content
/
themes
/
amanus
/
templaza-framework
/
options
/
File Content:
config.php
<?php defined('TEMPLAZA_FRAMEWORK') or exit(); //require_once 'post-type/product/product.php'; //require_once 'post-type/ap_product/ap_product.php'; use TemPlazaFramework\Functions; Templaza_API::add_field_arguments('settings', 'blog-page', array( 'blog-page-layout' => array( 'options' => array( 'columns' => 'Columns', 'list' => 'List', 'grid' => 'Grid', ) ), ) ); Templaza_API::set_fields('settings', 'blog-page', array( array( 'id' => 'blog-page-column-gap', 'type' => 'select', 'title' => esc_html__('Column Gap', 'amanus'), 'subtitle' => esc_html__('Column Gap grid.', 'amanus'), 'options' => array( 'default' => esc_html__('Default','amanus'), 'small' => esc_html__('Small','amanus'), 'medium' => esc_html__('Medium','amanus'), 'large' => esc_html__('Large','amanus'), 'collapse' => esc_html__('Collapse','amanus'), ), 'default' => 'default', 'required' => array('blog-page-layout', '=' , array('grid','columns')) ), array( 'id' => 'blog-page-card-size', 'type' => 'select', 'title' => esc_html__('Card Size', 'amanus'), 'options' => array( 'default' => esc_html__('Default','amanus'), 'small' => esc_html__('Small','amanus'), 'large' => esc_html__('Large','amanus'), 'custom' => esc_html__('Custom','amanus'), ), 'default' => 'default', 'required' => array('blog-page-layout', '=' , 'grid') ), array( 'id' => 'blog-page-card-custom', 'type' => 'spacing', 'allow_responsive' => true, 'title' => esc_html__('Card custom', 'amanus'), 'default' => '', 'required' => array('blog-page-card-size', '=' , 'custom') ), array( 'id' => 'blog-page-image-cover', 'type' => 'switch', 'title' => esc_html__( 'Cover image', 'amanus' ), 'default' => true, ), array( 'id' => 'blog-page-thumbnail-height', 'type' => 'spinner', 'title' => esc_html__('Thumbnail height', 'amanus'), 'default' => '300', 'min' => '100', 'step' => '1', 'max' => '1000', 'required' => array('blog-page-image-cover', '=' , true) ), ) ); Templaza_API::set_subsection('settings', 'colors', array( 'title' => esc_html__( 'Theme Color', 'amanus' ), 'id' => 'colors-theme-color', 'desc' => esc_html__( 'Select colors for theme', 'amanus' ), 'subsection' => true, 'fields' => array( array( 'id' => 'theme-color', 'type' => 'color_rgba', 'title' => esc_html__( 'Theme color', 'amanus' ), 'subtitle' => esc_html__( 'Set the color of theme', 'amanus' ), ), ), ) );
Submit
FILE
FOLDER
Name
Size
Permission
Action
post-type
---
0755
config.php
3400 bytes
0644
dashboard.php
612 bytes
0644
N4ST4R_ID | Naxtarrr