Answer the question
In order to leave comments, you need to log in
How to place a description under the node output on the taxonomy page?
Good afternoon!
Drupal 7. Implemented views page to display taxonomy terms
, now the output looks like this:
In the term-listing-heading block there is a description field - "Under development"
below the list output
in the theme files, I did not find a change in the output order. And it seems that the output is generated using the taxonomy_term_page hook
. How can
I place the page description under the list?
Answer the question
In order to leave comments, you need to log in
You can add footer to views. And there's code like:
<?php
if (arg(2) && is_numeric(arg(2)) {
$term = taxonomy_term_load(arg(2));
if ($term && $term->description && $term->description != '')
echo $term->description;
}
?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question