Created
August 24, 2017 11:55
-
-
Save jahid32/a91924467302becbccae7f33e71d0860 to your computer and use it in GitHub Desktop.
Hide Taxonomy page title
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
if (arg(0) == 'taxonomy' && arg(1) == 'term' && is_numeric(arg(2))) { | |
// Remove collection_taxonomy_term view title. | |
$term = taxonomy_term_load(arg(2)); | |
if($term->vocabulary_machine_name == 'tags') { | |
$vars['title'] = ''; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment