How to insert taxonomy term description in views, Global area
July 26, 2017
You may consider using PHP for this.
- Go to your Views
- Header > Add
- Select Global: PHP
- Use PHP snippet below to display the current term description
- You may use additional fields as necessary, arguments, arrays, etc.
<?php $current = taxonomy_term_load(arg(2)); ?> <?php if ($current): ?> <div class="taxonomy-description"> <?php echo $current->description; ?> </div> <?php endif; ?>