Created
March 6, 2015 11:57
-
-
Save keeprock/ec8018a8c35475b815d6 to your computer and use it in GitHub Desktop.
Add markup before or after the title
This file contains hidden or 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
function custom_preprocess_page(&$vars) { | |
$vars['title_prefix'][] = array( | |
'#markup' => 'HTML_MARKUP_HERE' | |
); | |
$vars['title_suffix'][] = array( | |
'#markup' => 'HTML_MARKUP_HERE' | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment