wp get post attributes code example
Example: wp+get tags for custom post type
<?php
echo get_the_term_list( get_the_ID(), 'ecommerce_tag', '', ',' );
?>
<?php
echo get_the_term_list( get_the_ID(), 'ecommerce_tag', '', ',' );
?>