Remove / Hide page title just from static home page.
-
Hello, I would like to remove the page title from my homepage.
The website is: https://www.portocallpublishing.com
The code is:
[code]get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="entry-headline-wrapper">
<div class="entry-headline-wrapper-inner">
<h1 class="entry-headline"><?php the_title(); ?></h1>
<?php songwriter_get_breadcrumb(); ?>
</div>
</div>
<div class="entry-content">
<div class="entry-content-inner">
<?php songwriter_get_display_image_page(); ?>
<?php the_content(); ?>
<?php edit_post_link( __( 'Edit', 'songwriter' ), '<p>', '</p>' ); ?>
<?php endwhile; endif; ?>
</div>
</div>
<?php comments_template( '', true ); ?>
</div> <!-- end of content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>[/code]If someone could help so it doesn’t show the entry-headline JUST for the homepage I’d be super grateful. Thank you!
- The topic ‘Remove / Hide page title just from static home page.’ is closed to new replies.