From ba423e9fa10654bdb8f66941d2f6357ac37b8acc Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Fri, 7 Sep 2018 16:25:37 -0400 Subject: [PATCH] Footer brand links: Cache bust and remove unused potentially problematic code --- functions.php | 2 +- js/custom/pageSetup.js | 10 +++++----- parts/header-meta.php | 2 +- parts/manufacturers.php | 13 ------------- 4 files changed, 7 insertions(+), 20 deletions(-) diff --git a/functions.php b/functions.php index d6ef938..a30661b 100644 --- a/functions.php +++ b/functions.php @@ -167,7 +167,7 @@ function glm_site_scripts() 'glm_foundation', get_template_directory_uri() . '/js/app.js', 'jquery', - '1.0.24.0', + '1.0.25.0', true ); if(is_front_page()) { diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 9a20a60..06802e1 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -31,10 +31,10 @@ $(document).ready(function () { metasliderThumbs.appendTo(".slider-wrapper"); }); - if( $(window).width() > 786){ - //$('.manufacturer-brand').attr('data-options',"is_hover:true" ); - $(document).foundation('dropdown', 'reflow'); - }else{ + // if( $(window).width() > 786){ + //$('.manufacturer-brand').attr('data-options',"is_hover:true" ); + // $(document).foundation('dropdown', 'reflow'); + // }else{ // $('.glm-rv-brand').each(function(){ // let url = $(this).children('a').attr('href'); // $(this).attr('data-url', url); @@ -51,5 +51,5 @@ $(document).ready(function () { // }) // } // }) - } + // } }); diff --git a/parts/header-meta.php b/parts/header-meta.php index 31c69e9..5651811 100644 --- a/parts/header-meta.php +++ b/parts/header-meta.php @@ -2,7 +2,7 @@ <?php wp_title(); ?> - + diff --git a/parts/manufacturers.php b/parts/manufacturers.php index a9c3e36..8757505 100644 --- a/parts/manufacturers.php +++ b/parts/manufacturers.php @@ -34,19 +34,6 @@ unset($manufacturers['RV Classes']); ID); ?> url){ ?> - - - - - -- 2.17.1