Skip to content

Instantly share code, notes, and snippets.

@keeprock
Created March 6, 2015 11:57
Show Gist options
  • Save keeprock/ec8018a8c35475b815d6 to your computer and use it in GitHub Desktop.
Save keeprock/ec8018a8c35475b815d6 to your computer and use it in GitHub Desktop.
Add markup before or after the title
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