If you have a field that is on a node, you can use the following code to print the field in your page.tpl.php file:
<?php print $node->field_intro['und'][0]['value'];?>
How would you print the same field that is attached to a taxonomy page?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
$tid = $node->field_intro['und'][0]['tid'];to get the Tid number and then calltaxonomy_term_load($tid). Once there, useprint_r()to figure out how to get at the data you want.