Changeset 2790391
- Timestamp:
- 09/26/2022 04:30:30 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ldd-directory-lite/trunk/includes/template-functions.php
r2788950 r2790391 206 206 if (!get_post_meta($post_id, ldl_pfx('contact_email'), 1)) 207 207 return; 208 209 echo '<script>var ajaxurl = "' . admin_url('admin-ajax.php') . '"</script>'; 208 ?> 209 210 <script>var ajaxurl = '<?php echo admin_url('admin-ajax.php');?>' </script>; 211 <?php 210 212 211 213 wp_enqueue_script('lddlite-contact'); … … 939 941 $count = get_term_post_count( "listing_category", $s->term_id ); 940 942 echo "<div class=\"ser-img img\" > 941 <a class='list-group-item ". $gridclass."' href=\"" . $theurl . "\">942 <div class='".$cls2."'>". $cat_img."</div>943 <div class='".$cls10."'>". $s->name."<span class=\"label label-primary pull-right\">".$count."</span><br>".$s->description ."943 <a class='list-group-item ".esc_html($gridclass)."' href=\"" . $theurl . "\"> 944 <div class='".$cls2."'>".wp_kses_post($cat_img)."</div> 945 <div class='".$cls10."'>". esc_html($s->name)."<span class=\"label label-primary pull-right\">".esc_html($count)."</span><br>".$s->description ." 944 946 </div> 945 947 </a></div>";
Note: See TracChangeset
for help on using the changeset viewer.