• Resolved davidjohnlewis

    (@davidjohnlewis)


    Hi, I’m using the Stork theme for my website: https://www.davidjohnlewis.co.uk

    Is it possible to remove the title of the static page when it is used as the home page? I appreciate not having ‘Home’ floating around.

    I love the theme, I appreciate the work put into it and would love to keep using it.

    Best, David

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author justgoodthemes

    (@justgoodthemes)

    Hi David,

    you would have to edit the page.php file of the theme or to create a child theme with the page.php file (better practice). In the page.php file you would need to replace

    <h1 class="entry-title"><?php the_title(); ?></h1>

    with

    <?php if ( ! is_front_page() ) : ?>
    	<h1 class="entry-title"><?php the_title(); ?></h1>
    <?php endif; ?>

    Hope this helps.

    Asta

    Theme Author justgoodthemes

    (@justgoodthemes)

    I see you removed “Home” title from home page. So I mark this topic as resolved.

    Thread Starter davidjohnlewis

    (@davidjohnlewis)

    I resolved this issue by simply not naming the page, keeping it ‘untitled’, rather than creating a new child theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Static front page title’ is closed to new replies.