Changeset 1448192
- Timestamp:
- 07/03/2016 10:01:48 PM (10 years ago)
- File:
-
- 1 edited
-
flirty-leads/tags/2.0/flirty-leads.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
flirty-leads/tags/2.0/flirty-leads.php
r1447930 r1448192 23 23 function ecs_owp_flirtyleads_scripts() { 24 24 //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() ) { 26 26 //Get plugin stylesheet 27 27 wp_enqueue_style( 'flirtyleads-style', plugin_dir_url(__FILE__) . 'css/style.css', '0.1', 'all'); … … 41 41 // Print the script to our page 42 42 wp_localize_script( 'flirty-script', 'postdata', $params ); 43 }//if blog, page...43 //} if blog, page... 44 44 } 45 45 add_action( 'wp_enqueue_scripts', 'ecs_owp_flirtyleads_scripts');
Note: See TracChangeset
for help on using the changeset viewer.