Changeset 1663970
- Timestamp:
- 05/24/2017 01:18:43 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
technoscore-hotjar-tracking/trunk/technoscore-hotjar-tracking.php
r1663849 r1663970 31 31 function techno_show_hotjar(){ 32 32 global $post; 33 $techno_hotjar_script = esc_attr( get_option('techno_bing_script') ); 33 34 $techno_hotjar_page_id_empty = esc_attr( get_option('techno_hotjar_page_id') ); 34 if(!empty($techno_hotjar_page_id_empty)){ 35 $techno_hotjar_page_id = explode(',',get_option('techno_hotjar_page_id')); 36 if(count($techno_hotjar_page_id)>0){ 37 if(in_array($post->ID,$techno_hotjar_page_id)){ 38 echo get_option('techno_hotjar_script'); 35 if(!empty($techno_hotjar_script)){ 36 if(!empty($techno_hotjar_page_id_empty)){ 37 $techno_hotjar_page_id = explode(',',get_option('techno_hotjar_page_id')); 38 if(count($techno_hotjar_page_id)>0){ 39 if(in_array($post->ID,$techno_hotjar_page_id)){ 40 echo get_option('techno_hotjar_script'); 41 } 39 42 } 43 }else{ 44 echo get_option('techno_hotjar_script'); 40 45 } 41 }else{42 echo get_option('techno_hotjar_script');43 46 } 44 47
Note: See TracChangeset
for help on using the changeset viewer.