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
/* === Begin: Set the divi slider to auto height === */ | |
/* Desktop */ | |
.auto-height-slider .et_pb_slide .et_pb_container { | |
height: auto !important; | |
min-height: auto !important; | |
} | |
/* Tablet */ | |
@media only screen and (min-width: 768px) and (max-width: 980px) { | |
.auto-height-slider .et_pb_slide .et_pb_container { |
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 | |
/** | |
* Single Product Image | |
* | |
* This template can be overridden by copying it to yourtheme/woocommerce/single-product/product-image.php. | |
* | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; |
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 | |
/** | |
* Gravity Wiz // Gravity Forms // Advanced Conditional Logic | |
* | |
* PLEASE NOTE: This snippet is a proof-of-concept. It is not supported and we have no plans to improve it. | |
* | |
* Allows multiple groups of conditional logic per field. | |
* | |
* @version 0.1 | |
* @author David Smith <[email protected]> |
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 | |
/** | |
* Unenqueue Tribe Scripts and replace with custom ones | |
* | |
* Tested with Events Calendar PRO 4.4.22 | |
*/ | |
// Unload isotope and photo view js for shortcode | |
add_action( 'tribe_events_pro_tribe_events_shortcode_prepare_photo', function() { | |
// Dequeue ECP's copy of isotope |
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
/** | |
* The Events Calendar - Target a Specific Event List Widget to Only Show Todays Events | |
* | |
* modify tribe-events-adv-list-widget-2 to id of widget | |
*/ | |
function tribe_modify_list_widget_args_for_today( $args ) { | |
$start_date_init = date ( 'Y-m-d' ); | |
$start_date_end = $start_date_init . ' 23:59:59'; |
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
/.gitignore | |
# codekit # | |
########### | |
.sass-cache/ | |
.codekit-config.json | |
.config.codekit | |
files/wp-content/themes/esco/assets/scss/.sass-cache/* | |
files/wp-content/themes/esco/config.codekit | |
/wp-content/themes/esco/config.codekit |
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
<span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span> |
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
// Customize Events Community Datepicker | |
if($("div.tribe-community-events-date input.datepicker").length) { | |
var datepickerOpts = { | |
dateFormat: 'yy-mm-dd', | |
changeMonth: true, | |
changeYear: true, | |
onSelect: function(selectedDate) { | |
var option = this.id == "EventStartDate" ? "minDate" : "maxDate"; | |
var instance = $(this).data("datepicker"); | |
var date = $.datepicker.parseDate(instance.settings.dateFormat || $.datepicker._defaults.dateFormat, selectedDate, instance.settings); |
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
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 ); | |
function woo_remove_product_tabs( $tabs ) { | |
unset( $tabs['description'] ); // Remove the description tab | |
unset( $tabs['reviews'] ); // Remove the reviews tab | |
unset( $tabs['additional_information'] ); // Remove the additional information tab | |
return $tabs; |
NewerOlder