Warning message

The service having id "digg_smart_button" is missing, reactivate its module or save again the list of services.


Print taxonomy terms without links in Drupal 7

In Drupal taxonomy terms are displayed by default as links to the teaser views. Sometimes, the links themselves are not relevant within the context of the content and you need to display the taxonomy terms as pure text.

Say in your node--doctors.tpl.php you need to display all the doctor specialties. The doctor specialties machine name in the doctors content type is field_doctor_specialities and it is a term reference for the taxonomy vocabulary “doctor specialties”.

Subscribe to RSS - Theming