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 | |
| /** | |
| * Add header wrap area first. | |
| */ | |
| function lp_header_wrap_open() { | |
| echo '<div class="wrap">'; | |
| } | |
| add_action( 'genesis_header', 'lp_header_wrap_open', 6 ); | |
| /** |
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 | |
| // Do not include opening PHP tag. | |
| add_filter( 'genesis_attr_body', 'custom_add_ontouchstart_to_body' ); | |
| /** | |
| * Add ontouchstart attribute to body. | |
| * | |
| * @param array $atts Body attributes. | |
| * @return 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
| <h3>Two Columns</h3> | |
| <div class="pricing-table"> | |
| <div class="one-half first"><strong>Price</strong><br> | |
| <small>$</small> | |
| <big>99.00</big> | |
| <p></p> | |
| <ul> | |
| <li>First feature</li> | |
| <li>Second feature</li> | |
| <li>Third feature</li> |
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 | |
| // Do NOT include the opening php tag shown above. Copy the code shown below. | |
| add_shortcode( 'widget_area', 'prefix_widget_area_shortcode' ); | |
| /** | |
| * Display widget area with shortcode. | |
| * | |
| * @since 1.0.0 | |
| * | |
| * @return string |
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
| if( function_exists('acf_add_local_field_group') ): | |
| acf_add_local_field_group(array ( | |
| 'key' => 'group_5b31f1ec3a72f', | |
| 'title' => 'Nutrition', | |
| 'fields' => array ( | |
| array ( | |
| 'key' => 'field_5b31fe209bc56', | |
| 'label' => 'Servings', | |
| 'name' => 'servings', |
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 | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Remove Widgets | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Provides an easy way to remove unused widgets from the dashboard. This | |
| | config is not used in premium Genesis child themes but is left here | |
| | as an example for developers who might find this function useful. |
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 | |
| /** | |
| * Additional JS Customizer Control | |
| * | |
| * @author Lee Anthony | |
| * @link https://seothemes.com | |
| * @copyright Copyright © 2018 SEO Themes | |
| * @license GPL-2.0-or-later | |
| */ |
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 | |
| //* Do NOT include the opening php tag shown above. Copy the code shown below. | |
| add_action( 'business_page_header', 'prefix_page_header_logo', 5 ); | |
| /** | |
| * Display logo inside page header on portfolio archive. | |
| * | |
| * @since 1.0.0 | |
| * | |
| * @return void |
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 | |
| \Genesis_Featured_Page::class, | |
| \Genesis_Featured_Post::class, | |
| \Genesis_User_Profile_Widget::class, | |
| \WP_Widget_Pages::class, | |
| \WP_Widget_Calendar::class, | |
| \WP_Widget_Archives::class, | |
| \WP_Widget_Links::class, | |
| \WP_Widget_Media_Audio::class, |