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
| Take a look at this example of the Course Maker theme by brandiD, built exclusively for the Genesis Framework. We like it so much, we're going to use it to market our own Personal Branding class. | |
| <a class="button" href="https://www.youtube.com/watch?v=YbRubFUmAtc" rel="wp-video-lightbox">Watch Video</a> |
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
| <h1>Get to the Head of the Class</h1> | |
| <p class="subhead">Lead your class with this clear, vibrant, easy-to-edit Genesis theme.</p> | |
| <p>This theme is packed full of features and functionality to help you market your new course. The homepage layout will drive traffic to your site and engage users with your online course materials while communicating than you're an autority in your space, without actually saying that -- unless you want it to!</p> | |
| <a href="https://thebrandidthemes.com/shop/" class="button">Buy the Theme</a> |
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
| <a href="#" class="button">Buy the Theme</a> |
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
| <p class="subhead">Lead your class with this clear, vibrant, easy-to-edit Genesis theme.</p> |
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_action( "customize_register", "am_customizer_mods" ); | |
| function am_customizer_mods( $wp_customize ) { | |
| //* Remove 'header image' Control | |
| $wp_customize->remove_control("header_image"); | |
| //* Remove 'widgets' Panel | |
| $wp_customize->remove_panel("widgets"); |
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 support for a Custom Logo | |
| add_theme_support( 'custom-logo', array( | |
| 'width' => 260, | |
| 'height' => 100, | |
| 'flex-width' => true, | |
| 'flex-height' => true, | |
| ) ); |
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 featured image on single post | |
| add_action( 'genesis_entry_header', 'hellopro_featured_image', 1 ); | |
| function hellopro_featured_image() { | |
| $image = genesis_get_image( array( | |
| 'format' => 'html', | |
| 'size' => 'featured', | |
| 'context' => '', | |
| 'attr' => array ( 'class' => 'aligncenter' ), |
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 'WEBSITE' REQUIRED FIELD TO CHECKOUT PAGE | |
| ----------------------------------------------------------------------------- */ | |
| //* Check if a specific product ID is in the cart | |
| function hm_product_is_in_cart( $ids ) { | |
| // Products currently in the cart | |
| $cart_ids = array(); | |
| // Find each product in the cart and add it to the $cart_ids array | |
| foreach( WC()->cart->get_cart() as $cart_item_key => $values ) { |
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 | |
| // WooCommerce -- allow editing of Orders regardless of Status | |
| add_filter ( 'wc_order_is_editable', 'force_order_statuses_to_editable' ); | |
| function force_order_statuses_to_editable () { | |
| return TRUE; | |
| } | |
| ?> |
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 | |
| // Copy/Paste this code to overwrite the current code, starting at Line 220 of /coaching-pro/lib/theme-setup.php | |
| add_action( 'genesis_entry_header', 'coaching_pro_show_featured_post_image', 1 ); | |
| function coaching_pro_show_featured_post_image() { | |
| // only show on single posts and pages | |
| if ( ! is_single() && ! is_page() || ! has_post_thumbnail() ) { | |
| return; | |
| } |