This file contains 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 | |
// Taken and modified from https://www.advancedcustomfields.com/resources/orde-posts-by-custom-fields/ | |
// Put here for posterity's sake as a bookmark of sorts | |
// Allows sorting by custom field value instead of default. | |
// This will allow client to be able to set the order of these goals/landing pages as they add more. | |
// Can be added to functions.php, or to custom template that gets called before your custom loop. | |
function my_pre_get_posts( $query ) { | |
// do not modify queries in the admin |
This file contains 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
3d_rotation | |
ac_unit | |
access_alarm | |
access_alarms | |
access_time | |
accessibility | |
accessible | |
account_balance | |
account_balance_wallet | |
account_box |
This file contains 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
// Place in functions.php | |
// Enables option to hide Gravity Forms labels in WP backend the right way instead of display: none CSS | |
add_filter( 'gform_enable_field_label_visibility_settings', '__return_true' ); |
This file contains 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
// Place in functions.php | |
// Enables option to hide Gravity Forms labels in WP backend the right way instead of display: none CSS | |
add_filter( 'gform_enable_field_label_visibility_settings', '__return_true' ); |
This file contains 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
<script> | |
(function($) { | |
function matchHeight() { | |
function setHeight(elementH) { | |
var maxH = 0; | |
var len = $(elementH).length; | |
$(elementH).css("min-height", ""); |
This file contains 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
.div { | |
box-shadow: 0 1px 2px rgba(0,0,0,0.1); | |
transition: box-shadow 0.3s ease-in-out; | |
} | |
.div:hover { | |
box-shadow: 0 0px 30px rgba(13,115,142,0.2); | |
} |
This file contains 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
.image-overlay { | |
background-color:rgba(0,0,0, 0.7); | |
position:absolute; | |
height:100%; | |
width:100%; | |
opacity: 1; | |
transition:opacity 1s; | |
} | |
.image-overlay-wrapper .et_pb_button { |
This file contains 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
/*---------------------------- | |
Slider Customization | |
created by: Jake Smith | |
----------------------------*/ | |
/* Blue box sizing and spacing */ | |
/* Entire Slider */ | |
#cm-slider .et_pb_slider { | |
} |