• تابع صفحاتنا

drupal 7 disable page-title drupal on the front page ( Home Page )

<p>On Drupal 7 Here is a simple trick to disable the page title from being displayed only on the front page ( Home Page ) and to be displayed normally on other pages. <?php if ($title <> "Home"): ?></p>
<h1 id="page-title">
<?php print $title; ?></h1>
<!-- /page title --><?php endif; ?>

Rate this Article: 
0
No votes yet