Plugin Directory

Changeset 1426194


Ignore:
Timestamp:
05/28/2016 09:34:18 PM (10 years ago)
Author:
r0bsc0tt
Message:

update shortcode code to exclude front page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • eazy-flickity-slider/trunk/resources/eazy_flickity_slider_shortcode.php

    r1426130 r1426194  
    8888  }
    8989
    90 
     90 if (!is_front_page()){ 
    9191    add_action( 'wp_enqueue_scripts', 'eazy_flickity_shortcode_scripts_styles' );
    9292    function eazy_flickity_shortcode_scripts_styles(){
     
    123123        } //end if preg match
    124124      } //end foreach
    125     if (!is_front_page()){ 
     125   
    126126    wp_localize_script( 'eazy-flickity-shortcode-extra', 'eazyoptions', $toys );
    127127    }
    128     }
     128}
    129129
    130130
Note: See TracChangeset for help on using the changeset viewer.