Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $queried_object = get_queried_object();
- $taxonomy = $queried_object->taxonomy;
- $term_id = $queried_object->term_id;
- // load content for this taxonomy term
- $custom_field = get_field('insert_new_project', 'projects' . '_' . $term_id);
Add Comment
Please, Sign In to add comment