Guest User

Untitled

a guest
Nov 21st, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. <section>
  2. <div class="wrapper_tax_data">
  3. <?php
  4. //GET taxonomie slug and check data taxonomie
  5. $terms = get_term_by('slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
  6. $term_id = get_queried_object()->term_id;
  7. $post_id = 'focusgroup-location_'.$term_id;
  8.  
  9.  
  10. //Get ACF fields Data
  11. $title = get_field('taxonomie_page_title', $post_id);
  12. $notification = get_field('notification_city_taxonomie' , $post_id);
  13. ?>
  14. <h1><?php echo $title;?></h1>
  15. <div class="notification_tax"><?php echo $notification;?></div>
  16. </section>
Add Comment
Please, Sign In to add comment