Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <section>
- <div class="wrapper_tax_data">
- <?php
- //GET taxonomie slug and check data taxonomie
- $terms = get_term_by('slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
- $term_id = get_queried_object()->term_id;
- $post_id = 'focusgroup-location_'.$term_id;
- //Get ACF fields Data
- $title = get_field('taxonomie_page_title', $post_id);
- $notification = get_field('notification_city_taxonomie' , $post_id);
- ?>
- <h1><?php echo $title;?></h1>
- <div class="notification_tax"><?php echo $notification;?></div>
- </section>
Add Comment
Please, Sign In to add comment