Last active
September 17, 2017 00:28
-
-
Save flumono/64bde788c250de0a5107e7ada3be2e2d to your computer and use it in GitHub Desktop.
Advanced Custom Fields in Woocommerce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="seo-text"> | |
<? | |
//get_post_meta( get_the_ID(), 'seo_text', true ); | |
$queried_object = get_queried_object(); | |
$taxonomy = $queried_object->taxonomy; | |
$term_id = $queried_object->term_id; | |
the_field('seo_text', $taxonomy . '_' . $term_id); | |
?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment