initial commit

This commit is contained in:
2024-04-29 13:12:44 +05:45
commit 34887303c5
19300 changed files with 5268802 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
<?php
/**
* Redux Framework background config.
* For full documentation, please visit: http://devs.redux.io/
*
* @package Redux Framework
*/
defined( 'ABSPATH' ) || exit;
Redux::set_section(
$opt_name,
array(
'title' => esc_html__( 'Background', 'your-textdomain-here' ),
'id' => 'design-background',
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/background.html" target="_blank">https://devs.redux.io/core-fields/background.html</a>',
'subsection' => true,
'fields' => array(
array(
'id' => 'opt-background',
'type' => 'background',
'output' => array(
'background-color' => 'body',
'important' => true,
),
'default' => array(
'background-color' => '#d1b7e2',
),
'title' => __( 'Body Background', 'your-textdomain-here' ),
'subtitle' => __( 'Body background with image, color, etc.', 'your-textdomain-here' ),
),
),
)
);

View File

@@ -0,0 +1,54 @@
<?php
/**
* Redux Framework border config.
* For full documentation, please visit: http://devs.redux.io/
*
* @package Redux Framework
*/
defined( 'ABSPATH' ) || exit;
Redux::set_section(
$opt_name,
array(
'title' => esc_html__( 'Border', 'your-textdomain-here' ),
'id' => 'design-border',
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/border.html" target="_blank">https://devs.redux.io/core-fields/border.html</a>',
'subsection' => true,
'fields' => array(
array(
'id' => 'opt-header-border',
'type' => 'border',
'title' => esc_html__( 'Header Border Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Only color validation can be done on this field type', 'your-textdomain-here' ),
'output' => array( '.site-header, header' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'default' => array(
'border-color' => '#1e73be',
'border-style' => 'solid',
'border-top' => '3px',
'border-right' => '3px',
'border-bottom' => '3px',
'border-left' => '3px',
),
),
array(
'id' => 'opt-header-border-expanded',
'type' => 'border',
'title' => esc_html__( 'Body Border Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Only color validation can be done on this field type', 'your-textdomain-here' ),
'output' => array( 'body' ),
'all' => false,
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'default' => array(
'border-color' => '#1e73be',
'border-style' => 'solid',
'border-top' => '3px',
'border-right' => '3px',
'border-bottom' => '3px',
'border-left' => '3px',
),
),
),
)
);

View File

@@ -0,0 +1,43 @@
<?php
/**
* Redux Box Shadow Sample config.
* For full documentation, please visit: http:https://devs.redux.io/
*
* @package Redux
*/
defined( 'ABSPATH' ) || exit;
Redux::set_section(
$opt_name,
array(
'title' => esc_html__( 'Box Shadow', 'your-textdomain-here' ),
'id' => 'design-box-shadow',
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/box-shadow.html" target="_blank">https://devs.redux.io/core-fields/box_shadow.html</a>',
'subsection' => true,
'fields' => array(
array(
'id' => 'opt-box_shadow',
'type' => 'box_shadow',
'output' => array( '.site-header, header' ),
'media_query' => array(
'output' => true,
'compiler' => true,
'queries' => array(
array(
'rule' => 'screen and (max-width: 360px)',
'selectors' => array( '.box-shadow' ),
),
array(
'rule' => 'screen and (max-width: 1120px)',
'selectors' => array( '.box-shadow-wide' ),
),
),
),
'title' => esc_html__( 'Box Shadow', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Site Header Box Shadow with inset and drop shadows.', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
),
),
)
);

View File

@@ -0,0 +1,48 @@
<?php
/**
* Redux Framework dimensions config.
* For full documentation, please visit: http://devs.redux.io/
*
* @package Redux Framework
*/
defined( 'ABSPATH' ) || exit;
Redux::set_section(
$opt_name,
array(
'title' => esc_html__( 'Dimensions', 'your-textdomain-here' ),
'id' => 'design-dimensions',
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/dimensions.html" target="_blank">https://devs.redux.io/core-fields/dimensions.html</a>',
'subsection' => true,
'fields' => array(
array(
'id' => 'opt-dimensions',
'type' => 'dimensions',
'units' => array( 'em', 'px', '%' ), // You can specify a unit value. Possible: px, em, %.
'units_extended' => 'true', // Allow users to select any type of unit.
'title' => esc_html__( 'Dimensions (Width/Height) Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Allow your users to choose width, height, and/or unit.', 'your-textdomain-here' ),
'desc' => esc_html__( 'You can enable or disable any piece of this field. Width, Height, or Units.', 'your-textdomain-here' ),
'default' => array(
'width' => 200,
'height' => 100,
),
),
array(
'id' => 'opt-dimensions-width',
'type' => 'dimensions',
'units' => array( 'em', 'px', '%' ), // You can specify a unit value. Possible: px, em, %.
'units_extended' => 'true', // Allow users to select any type of unit.
'title' => esc_html__( 'Dimensions (Width) Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Allow your users to choose width, height, and/or unit.', 'your-textdomain-here' ),
'desc' => esc_html__( 'You can enable or disable any piece of this field. Width, Height, or Units.', 'your-textdomain-here' ),
'height' => false,
'default' => array(
'width' => 200,
'height' => 100,
),
),
),
)
);

View File

@@ -0,0 +1,8 @@
<?php
/**
* Silence is golden.
*
* @package Redux Framework
*/
echo null;

View File

@@ -0,0 +1,74 @@
<?php
/**
* Redux Framework spacing config.
* For full documentation, please visit: http://devs.redux.io/
*
* @package Redux Framework
*/
defined( 'ABSPATH' ) || exit;
Redux::set_section(
$opt_name,
array(
'title' => esc_html__( 'Spacing', 'your-textdomain-here' ),
'id' => 'design-spacing',
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/spacing.html" target="_blank">https://devs.redux.io/core-fields/spacing.html</a>',
'subsection' => true,
'fields' => array(
array(
'id' => 'opt-spacing',
'type' => 'spacing',
'output' => array( '.site-header, header' ),
// absolute, padding, margin, defaults to padding.
'mode' => 'margin',
// Have one field that applies to all.
'all' => true,
// You can specify a unit value. Possible: px, em, %.
'units' => 'em',
// Set to false to hide the units if the units are specified.
'display_units' => false,
'title' => esc_html__( 'Padding/Margin Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Allow your users to choose the spacing or margin they want.', 'your-textdomain-here' ),
'desc' => esc_html__( 'You can enable or disable any piece of this field. Top, Right, Bottom, Left, or Units.', 'your-textdomain-here' ),
'default' => array(
'margin-top' => '1',
'margin-right' => '2',
'margin-bottom' => '3',
'margin-left' => '4',
'units' => 'em',
),
// phpcs:ignore Squiz.PHP.CommentedOutCode
// Allow users to select any type of unit.
// 'units_extended'=> 'true', // Enable extended units.
// 'top' => false, // Disable the top.
// 'right' => false, // Disable the right.
// 'bottom' => false, // Disable the bottom.
// 'left' => false, // Disable the left.
),
array(
'id' => 'opt-spacing-expanded',
'type' => 'spacing',
'mode' => 'margin',
'all' => false,
'units' => array( 'em', 'px', '%' ),
'units_extended' => true,
'title' => __( 'Padding/Margin Option', 'your-textdomain-here' ),
'subtitle' => __( 'Allow your users to choose the spacing or margin they want.', 'your-textdomain-here' ),
'desc' => __( 'You can enable or disable any piece of this field. Top, Right, Bottom, Left, or Units.', 'your-textdomain-here' ),
'default' => array(
'margin-top' => '1',
'margin-right' => '2',
'margin-bottom' => '3',
'margin-left' => '5',
'units' => 'em',
),
),
),
)
);