• Resolved G4rrix

    (@g4rrix)


    Hey guys,
    I want to remove the theme header on the front page, because I want to use my own header. I removed this in the content-single.php
    ‘code’
    <div class=”intro-image__inside”>
    <header class=”entry-header”>
    <?php if ( is_sticky() ) { ?>
    <span class=”sticky-tag”>
    <?php echo esc_html_e( ‘Featured’, ‘yuuta’ ); ?>
    </span>
    <?php } ?>
    <?php the_title( sprintf( ‘<h1 class=”entry-title”>‘, esc_url( get_permalink() ) ), ‘</h1>’ ); ?>
    <?php if ( ! is_page() ) {
    yuuta_posted_on();
    } ?>
    <hr>
    </header><!– .entry-header –>
    </div>
    ‘code’

    But then it removes also the header for the blog sites.
    How could I only remove the header for my front page ?

    Thank you

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Only change static front page’ is closed to new replies.