Created
January 28, 2015 15:35
-
-
Save dasginganinja/7a3b25c7de5f15de5c5f to your computer and use it in GitHub Desktop.
Drupal 7 Remove Breadcrumb and Title from homepage
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
function east_penn_trucks_20141222_preprocess_page(&$vars, $hook) { | |
// Remove the Breadcrumb and Title from the homepage | |
if ($vars['is_front']) : | |
$vars['breadcrumb'] = ''; | |
$vars['title'] = ''; | |
endif; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment