cjrussell Posted March 13, 2016 Share Posted March 13, 2016 I am having trouble getting my custom tag field to display within my Wordpress site. I am successfully displaying the tag description using this code:<?php echo category_description( $category_id ); ?> I made a custom tag field called "video". How can I call and display this custom field exactly how the above code does with the tag description? The meta key is "video", type is "editor" and the taxonomy is "post_tag". Any help would be greatly appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/300990-php-code-for-displaying-custom-tag-field/ Share on other sites More sharing options...
maxxd Posted March 13, 2016 Share Posted March 13, 2016 I think you're looking for get_post_meta(). Quote Link to comment https://forums.phpfreaks.com/topic/300990-php-code-for-displaying-custom-tag-field/#findComment-1531971 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.