Created
November 21, 2013 10:29
-
-
Save vdchristelle/7579354 to your computer and use it in GitHub Desktop.
Wrapper around the term description field (because display suite does not allow)
Base theme strips the prefix & suffix, you can reset it in your custom theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements template_preprocess_taxonomy_term(). | |
*/ | |
function YOURTHEME_preprocess_taxonomy_term(&$variables) { | |
// Add taxonomy term description wrapper | |
$variables['content']['description']['#prefix'] = ''; | |
$variables['content']['description']['#suffix'] = ''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment