sss
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
10 changed files
with
25 additions
and
13 deletions
| ... | @@ -45,7 +45,7 @@ $carousel_style = get_field('carousel_style'); | ... | @@ -45,7 +45,7 @@ $carousel_style = get_field('carousel_style'); |
| 45 | <?php $page = get_sub_field('page'); ?> | 45 | <?php $page = get_sub_field('page'); ?> |
| 46 | <div class="swiper-slide"> | 46 | <div class="swiper-slide"> |
| 47 | <div class="carousel-content"> | 47 | <div class="carousel-content"> |
| 48 | <?php $image = get_sub_field('image'); ?> | 48 | |
| 49 | <div class="row"> | 49 | <div class="row"> |
| 50 | <div class="col-lg-4 col-md-12 promo-image" > | 50 | <div class="col-lg-4 col-md-12 promo-image" > |
| 51 | <?php $image = get_the_post_thumbnail_url( $page->ID, 'medium' ); | 51 | <?php $image = get_the_post_thumbnail_url( $page->ID, 'medium' ); | ... | ... |
| ... | @@ -117,13 +117,13 @@ function megamenu_override_default_theme($value) { | ... | @@ -117,13 +117,13 @@ function megamenu_override_default_theme($value) { |
| 117 | add_action( 'wp_enqueue_scripts', 'fixUlisting', 100 ); | 117 | add_action( 'wp_enqueue_scripts', 'fixUlisting', 100 ); |
| 118 | 118 | ||
| 119 | 119 | ||
| 120 | add_filter( 'get_custom_logo_image_attributes', function( | 120 | // add_filter( 'get_custom_logo_image_attributes', function( |
| 121 | $custom_logo_attr, $custom_logo_id, $blog_id ) | 121 | // $custom_logo_attr, $custom_logo_id, $blog_id ) |
| 122 | { | 122 | // { |
| 123 | $custom_logo_attr['class'] = ' no-lazy-load lazyloaded'; | 123 | // $custom_logo_attr['class'] = ' no-lazy-load lazyloaded'; |
| 124 | $custom_logo_attr['loading'] = 'eager'; | 124 | // $custom_logo_attr['loading'] = 'eager'; |
| 125 | $custom_logo_attr['decoding'] = 'async'; | 125 | // $custom_logo_attr['decoding'] = 'async'; |
| 126 | return $custom_logo_attr; | 126 | // return $custom_logo_attr; |
| 127 | } ,10,3); | 127 | // } ,10,3); |
| 128 | 128 | ||
| 129 | 129 | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -20732,6 +20732,11 @@ | ... | @@ -20732,6 +20732,11 @@ |
| 20732 | $(this).closest('.searchandfilter')[0].reset(); | 20732 | $(this).closest('.searchandfilter')[0].reset(); |
| 20733 | return false; | 20733 | return false; |
| 20734 | }); | 20734 | }); |
| 20735 | $(document).on("click", ".search-filter-reset", function (e) { | ||
| 20736 | e.preventDefault(); | ||
| 20737 | $('.searchandfilter')[0].reset(); | ||
| 20738 | return false; | ||
| 20739 | }); | ||
| 20735 | $(document).on("click", '#advance-search-modal [name="_sf_submit"]', function (e) { | 20740 | $(document).on("click", '#advance-search-modal [name="_sf_submit"]', function (e) { |
| 20736 | $('#advance-search-modal .searchandfilter').hide(); | 20741 | $('#advance-search-modal .searchandfilter').hide(); |
| 20737 | $('[data-sf-form-id="399"]').trigger("submit"); | 20742 | $('[data-sf-form-id="399"]').trigger("submit"); |
| ... | @@ -26177,7 +26182,8 @@ | ... | @@ -26177,7 +26182,8 @@ |
| 26177 | spaceBetween: space, | 26182 | spaceBetween: space, |
| 26178 | slidesPerGroup: SlidesPerGroup, | 26183 | slidesPerGroup: SlidesPerGroup, |
| 26179 | centeredSlides: true, | 26184 | centeredSlides: true, |
| 26180 | loop: true, | 26185 | loop: false, |
| 26186 | lazy: true, | ||
| 26181 | pagination: { | 26187 | pagination: { |
| 26182 | el: ".swiper-pagination", | 26188 | el: ".swiper-pagination", |
| 26183 | type: 'bullets', | 26189 | type: 'bullets', | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
| ... | @@ -47,7 +47,8 @@ jQuery(document).ready(function($) { | ... | @@ -47,7 +47,8 @@ jQuery(document).ready(function($) { |
| 47 | spaceBetween: space, | 47 | spaceBetween: space, |
| 48 | slidesPerGroup: SlidesPerGroup , | 48 | slidesPerGroup: SlidesPerGroup , |
| 49 | centeredSlides: true, | 49 | centeredSlides: true, |
| 50 | loop: true, | 50 | loop: false, |
| 51 | lazy: true, | ||
| 51 | pagination: { | 52 | pagination: { |
| 52 | el: ".swiper-pagination", | 53 | el: ".swiper-pagination", |
| 53 | type: 'bullets', | 54 | type: 'bullets', | ... | ... |
| ... | @@ -16,6 +16,12 @@ var Search = (function($) { | ... | @@ -16,6 +16,12 @@ var Search = (function($) { |
| 16 | return false; | 16 | return false; |
| 17 | }); | 17 | }); |
| 18 | 18 | ||
| 19 | $(document).on("click", ".search-filter-reset", function(e){ | ||
| 20 | e.preventDefault(); | ||
| 21 | $('.searchandfilter')[0].reset(); | ||
| 22 | return false; | ||
| 23 | }); | ||
| 24 | |||
| 19 | 25 | ||
| 20 | $(document).on("click", '#advance-search-modal [name="_sf_submit"]', function(e){ | 26 | $(document).on("click", '#advance-search-modal [name="_sf_submit"]', function(e){ |
| 21 | $('#advance-search-modal .searchandfilter').hide(); | 27 | $('#advance-search-modal .searchandfilter').hide(); | ... | ... |
| ... | @@ -54,7 +54,6 @@ jQuery(document).ready(function($) { | ... | @@ -54,7 +54,6 @@ jQuery(document).ready(function($) { |
| 54 | 54 | ||
| 55 | 55 | ||
| 56 | 56 | ||
| 57 | |||
| 58 | (function() { | 57 | (function() { |
| 59 | var origOpen = XMLHttpRequest.prototype.open; | 58 | var origOpen = XMLHttpRequest.prototype.open; |
| 60 | XMLHttpRequest.prototype.open = function(method, url) { | 59 | XMLHttpRequest.prototype.open = function(method, url) { | ... | ... |
-
Please register or sign in to post a comment