Plugin Directory

Changeset 1448192


Ignore:
Timestamp:
07/03/2016 10:01:48 PM (10 years ago)
Author:
sageshilling
Message:

update conditionals

File:
1 edited

Legend:

Unmodified
Added
Removed
  • flirty-leads/tags/2.0/flirty-leads.php

    r1447930 r1448192  
    2323function ecs_owp_flirtyleads_scripts() {
    2424        //single post and main query or Default homepage or static homepage or blog page
    25     if ( (is_single() && is_main_query()) || (is_front_page() && is_home()) || is_front_page() || is_home() ) {
     25    //if ( (is_single() && is_main_query()) || (is_front_page() && is_home()) || is_front_page() || is_home() ) {
    2626    //Get plugin stylesheet
    2727    wp_enqueue_style( 'flirtyleads-style', plugin_dir_url(__FILE__) . 'css/style.css', '0.1', 'all');
     
    4141      // Print the script to our page
    4242    wp_localize_script( 'flirty-script', 'postdata',  $params );
    43     }// if blog, page...
     43    //} if blog, page...
    4444}
    4545add_action( 'wp_enqueue_scripts', 'ecs_owp_flirtyleads_scripts');
Note: See TracChangeset for help on using the changeset viewer.