first commit

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-08 12:19:53 -04:00
commit 7c8c8b1c76
4586 changed files with 2050693 additions and 0 deletions
@@ -0,0 +1,53 @@
<?php
/**
* Customizer Control: oceanwp-heading.
*
* @package OceanWP WordPress theme
* @subpackage Controls
* @since 1.0
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Range control
*/
class OceanWP_Customizer_Heading_Control extends WP_Customize_Control {
/**
* The control type.
*
* @access public
* @var string
*/
public $type = 'oceanwp-heading';
/**
* Enqueue control related scripts/styles.
*
* @access public
*/
public function enqueue() {
wp_enqueue_style( 'oceanwp-heading', OCEANWP_INC_DIR_URI . 'customizer/assets/min/css/heading.min.css', null );
}
/**
* An Underscore (JS) template for this control's content (but not its container).
*
* Class variables for this control class are available in the `data` JS object;
* export custom variables by overriding {@see WP_Customize_Control::to_json()}.
*
* @see WP_Customize_Control::print_template()
*
* @access protected
*/
protected function content_template() {
?>
<h4 class="oceanwp-customizer-heading">{{{ data.label }}}</h4>
<div class="description">{{{ data.description }}}</div>
<?php
}
}
@@ -0,0 +1,3 @@
.customize-control-oceanwp-heading { margin-top: 30px; }
.oceanwp-customizer-heading { display: block; margin: 0 -12px; padding: 13px 12px; background-color: #fff; color: #555; border: 1px solid #ddd; border-left: 0; border-right: 0; font-size: 11px; font-weight: 600; letter-spacing: 2px; line-height: 1; text-transform: uppercase; }
.customize-control-oceanwp-heading .description { margin-top: 10px; }