Use term reference field in node--custom.tpl.php I am building a website with Drupal 7, this website contains a blog. For some reasons I use a custom content type for blog posts call bog_post. In this content type I add a "Term reference" field (is machine name is "field_blog_categories").

To custom the layout of blog post I override node--blog_post.tpl.php. My problem is to display the term reference field. When I print the php var corresponding to that field "$field_blog_categories" I get :

Array ( [en] =&gt; Array ( [0] =&gt; Array ( [tid] =&gt; 8 ) ) )


As you can see the term name don't appear. I thought to get the name by tid. I try 

taxonomy_term_load($field_blog_categories['en'][0]['tid'])


but it return nothing.

Any help to get the term name will be appreciate !
If taxonomy_term_load() return false then 


the supplied argument (tid) is either non-numeric
Or there is no term with this id.


To check if there is any term against this id try

`taxonomy_term_load_multiple(array($tid), array());`


If taxonomy_term_load_multiple() returns empty array then it is clear there is no term with this $tid.