This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class SIMP_SimpleHeader extends ET_Builder_Module { | |
| // Example 1: Include Fonts Field using its default configuartion | |
| public function get_advanced_fields_config() { | |
| return array(); | |
| } | |
| // Example 2: Include Fonts Field using a custom configuartion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class SIMP_SimpleHeader extends ET_Builder_Module { | |
| // Example 1: Include Filters Field using its default configuartion | |
| public function get_advanced_fields_config() { | |
| return array(); | |
| } | |
| // Example 2: Include Filters Field using a custom configuartion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class SIMP_SimpleHeader extends ET_Builder_Module { | |
| // Example 1: Include Button Field using its default configuartion | |
| public function get_advanced_fields_config() { | |
| return array(); | |
| } | |
| // Example 2: Include Button Field using a custom configuartion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class SIMP_SimpleHeader extends ET_Builder_Module { | |
| // Example 1: Include Box Shadow Field using its default configuartion | |
| public function get_advanced_fields_config() { | |
| return array(); | |
| } | |
| // Example 2: Include Box Shadow Field using a custom configuartion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class SIMP_SimpleHeader extends ET_Builder_Module { | |
| // Example 1: Include Borders Field using its default configuartion | |
| public function get_advanced_fields_config() { | |
| return array(); | |
| } | |
| // Example 2: Include Borders Field using a custom configuartion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class SIMP_SimpleHeader extends ET_Builder_Module { | |
| // Example 1: Include Background Field using its default configuartion | |
| public function get_advanced_fields_config() { | |
| return array(); | |
| } | |
| // Example 2: Include Background Field using a custom configuartion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| ... | |
| public function get_fields() { | |
| return array( | |
| 'setting_a' => array( | |
| ... | |
| ), | |
| 'setting_b' => array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| ... | |
| public function get_fields() { | |
| return array( | |
| 'setting_a' => array( | |
| 'label' => esc_html__( 'Setting A', 'myex-my-extension' ), | |
| 'type' => 'text', | |
| 'option_category' => 'basic_option', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .simp-simple-header-heading { | |
| margin-bottom: 20px; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // External Dependencies | |
| import React, { Component, Fragment } from 'react'; | |
| // Internal Dependencies | |
| import './style.css'; | |
| class SimpleHeader extends Component { | |
| static slug = 'simp_simple_header'; |