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
$GLOBALS['themo_extra_adult_text'] = true; | |
$GLOBALS['themo_extra_child_text'] = true; | |
$GLOBALS['themo_extra_pet_text'] = true; | |
$GLOBALS['themo_extra_cleaning_text'] = true; | |
function themo_mphb_translate_service_callback( $service ) { | |
// Maybe modify $example in some way. | |
if(isset($service) && $service->getTitle() == 'Extra Adult' && $GLOBALS['themo_extra_adult_text'] ) { | |
echo '<li class="themo_rate_notice">Rate set per night based on double occupancy (2 guests). Check-in any additional adults here. 5 guests total is the maximum. </li>'; |
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 Image Stretch Option Control to the Image Gallery Widget */ | |
add_action( 'elementor/element/before_section_end', function( $element, $section_id, $args ) { | |
/** @var \Elementor\Element_Base $element */ | |
if ( 'image-gallery' === $element->get_name() && 'section_gallery' === $section_id ) { | |
$element->add_control( | |
'image_stretch', | |
[ | |
'label' => __( 'Image Stretch', 'elementor' ), | |
'type' => \Elementor\Controls_Manager::SELECT, |
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
/* | |
Theme Name: Moorewilson Child Theme | |
Theme URI: http://moorewilson.ca | |
Description: Child theme for Moore Wilson | |
Author: Honeycomb | |
Author URI: http://honeycombweb.com | |
Template: moorewilson | |
Version: 1.0 | |
*/ |
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
$atts = shortcode_atts( | |
array( | |
'size' => 'large', | |
'calendar' => false, | |
'year' => false, | |
'month' => false, | |
'switcher' => false, | |
'post_id' => false | |
), $atts ); | |
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
# Turn off eTags | |
Header unset ETag | |
FileETag None | |
# BEGIN COMPRESSION | |
<ifModule mod_gzip.c> | |
mod_gzip_on Yes | |
mod_gzip_dechunk Yes | |
mod_gzip_item_include file \.(html?|txt|css|js|php|pl|woff)$ | |
mod_gzip_item_include handler ^cgi-script$ |