Hiding the front page title on a static page
-
I know this question has been asked before because frankly I think I’ve read a hundred different answers, but I’m having trouble finding a solution specific to my theme and it’s actually getting to the point of driving me nuts.
What I need to do is remove or hide the “Home” title from showing up on my static front page whilst keeping it within the main navigation.
I have recently switched from the Weaver theme to Wallow and this is where the problem stemed from. My knowledge of coding is limited at best so could you please go easy. After scouring my style.css, index.php, header.php I can’t really find anything close to what people have been suggesting but I’m just wondering if there might be a change made within the page.php that could help. This snippet here looks like something I might need to alter…. I hope.<div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
<?php the_post_thumbnail( array( 150,150 ), array( ‘class’ => ‘alignleft’ ) ); ?>
<h3 class=”s”>” rel=”bookmark”>
<?php
$post_title = the_title_attribute(‘echo=0’);
if (!$post_title) { _e( ”, ‘home’ ); } else { echo $post_title; } ;
?>
Any suggestions would really be appreciated, It’s probably a 1 minute job for someone who knows what they’re doing but I’m all out of things to try! Thanks in advance and hopefully someone can rid me of this pesky title. Cheers!
- The topic ‘Hiding the front page title on a static page’ is closed to new replies.