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
| ---------------------------------------------------------------------------------------------------- */ | |
| .instagram { | |
| overflow: hidden; | |
| } | |
| .instagram .wrap { | |
| border-top: 1px solid #eee; | |
| margin-left: auto; |
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
| /* # Full Width Genesis Footer w/ Styling | |
| ------------------------------------------- */ | |
| .footer-widgets{ | |
| background-color: #232525; | |
| } | |
| .footer-widgets, .footer-widgets a, .footer-widgets .widgettitle{ | |
| color: #fff; | |
| text-decoration: none; | |
| } | |
| .footer-widgets-1.footer-widget-area{ |
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 one fullwidth footer widgets | |
| add_theme_support( 'genesis-footer-widgets', 1 ); | |
| ?> |
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
| (function (root, factory) { | |
| if ( typeof define === 'function' && define.amd ) { | |
| define([], factory(root)); | |
| } else if ( typeof exports === 'object' ) { | |
| module.exports = factory(root); | |
| } else { | |
| root.myPlugin = factory(root); | |
| } | |
| })(typeof global !== "undefined" ? global : this.window || this.global, function (root) { |
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
| /* # Homepage Widgets | |
| ---------------------------------------------------------------------------------------------------- */ | |
| .hp-widgets-section{ | |
| padding: 50px 0px 30px; | |
| border-bottom: 1px solid #eee; | |
| } | |
| .hp-widgets-section .widget{ | |
| padding: 30px 20px 0px; | |
| } |
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 | |
| /* CUSTOM SIDEBAR | |
| ========================================================================== */ | |
| add_action('init', 'hp_register_sidebar_widgets'); | |
| function hp_register_sidebar_widgets(){ | |
| register_sidebar(array( | |
| 'name' => __( 'Homepage Widgets', 'widget-options' ), | |
| 'id' => 'homepage-widgets', | |
| 'description' => __( 'Widgets in this area will be shown on homepage after header section.', 'widget-options' ), |
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
| .testimonial-wrap{ | |
| color: #fff; | |
| padding-top: 50px; | |
| padding-bottom: 50px; | |
| margin-bottom: 50px; | |
| background: rgba(118, 184, 82, 0.9); /** Change to your preferred color **/ | |
| text-align: center; | |
| } | |
| .testimonial-wrap span.above-title{ | |
| display: block; |
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 date meta display | |
| add_action( 'focuswp_before_slide', 'focuswp_before_custom', 40 ); | |
| function focuswp_before_custom( $params ){ | |
| if( $params['item']->post_type == 'testimonials' ){ | |
| remove_action( 'focuswp_content_meta', array( $params['this'], 'slide_meta' )); | |
| } | |
| } |
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 | |
| //Create CPT for testimonials | |
| add_action( 'init', 'testimonials_CPT', 0 ); | |
| function testimonials_CPT() { | |
| $labels = array( | |
| 'name' => __( 'Testimonials', 'focuswp' ), | |
| 'singular_name' => __( 'Testimonials', 'focuswp' ), | |
| 'menu_name' => __( 'Testimonials', 'focuswp' ), | |
| 'name_admin_bar' => __( 'Testimonials', 'focuswp' ), |
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
| .widget.newsletter-green{ | |
| background-color: #19a87d; | |
| color: #fff; | |
| } | |
| .widget.newsletter-green input{ | |
| border: 1px solid #fff; | |
| } | |
| .widget.newsletter-green input[type="submit"], .widget.newsletter-green button{ | |
| background-color: #ea6a1b; | |
| color #fff; |