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 //<~ don't add me | |
| <?php if ( get_header_image() ) : ?> | |
| <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> | |
| <img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt=""> | |
| </a> | |
| <?php endif; // End header image check. ?> |
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
| /* ## Back to top | |
| --------------------------------------------- */ | |
| .eemi-top:hover { | |
| color: #fff !important; | |
| background-color: rgba(0,0,0,0.8); | |
| text-decoration: none; | |
| } | |
| .eemi-top { | |
| display: none; |
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 | |
| // Nav Menu Dropdown Class | |
| include_once( CHILD_DIR . '/lib/classes/nav-menu-dropdown.php' ); | |
| /** | |
| * Mobile Menu | |
| * | |
| */ | |
| function be_mobile_menu() { |
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 | |
| //This is a filter to change the default validation message that Gravity Forms generates | |
| add_filter('gform_validation_message', 'change_validation_message', 10, 2); | |
| function change_validation_message($message, $form) | |
| { | |
| return "<div class='validation_error'><strong>Oops!</strong> Looks like there’s something wrong. Please review the form above.</div>"; | |
| } | |
| // Often forms in Gravity Forms to need to start with default values and we need to check the form in case the user hasn't entered new data and give them a validation message back |