first commit

This commit is contained in:
2023-09-12 21:41:04 +02:00
commit 3361a7f053
13284 changed files with 2116755 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
/**
* Redux Framework background config.
* For full documentation, please visit: http://docs.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="//docs.redux.io/core/fields/background/" target="_blank">docs.redux.io/core/fields/background/</a>',
'subsection' => true,
'fields' => array(
array(
'id' => 'opt-background',
'type' => 'background',
'output' => array( 'body' ),
'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://docs.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="//docs.redux.io/core/fields/border/" target="_blank">docs.redux.io/core/fields/border/</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' ),
'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__( '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' ),
'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,48 @@
<?php
/**
* Redux Framework dimensions config.
* For full documentation, please visit: http://docs.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="//docs.redux.io/core/fields/dimensions/" target="_blank">docs.redux.io/core/fields/dimensions/</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://docs.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="//docs.redux.io/core/fields/spacing/" target="_blank">docs.redux.io/core/fields/spacing/</a>',
'subsection' => true,
'fields' => array(
array(
'id' => 'opt-spacing',
'type' => 'spacing',
'output' => array( '.site-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',
),
),
),
)
);