Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11212

    Hello,

    How do I remove the page title from the homepage?

    Thanks!

    Jodie

    #70968

    Hi,

    In your Sentence Theme Folder, kindly edit this 3 files:

    1. template-archives.php

    Find this code in the file:

    Code:
    <?php echo “<h1>”.get_the_title(avia_get_the_id()).”</h1>”; ?>

    and replace it with this:

    Code:
    <?php //echo “<h1>”.get_the_title(avia_get_the_id()).”</h1>”; ?>

    2. template-portfolio.php

    Find this code:

    Code:
    echo “<h1 class=’first-heading’>”.get_the_title(avia_get_the_id()).”</h1>”;

    and replace it with:

    Code:
    //echo “<h1 class=’first-heading’>”.get_the_title(avia_get_the_id()).”</h1>”;

    3. includes > loop-page.php

    Find this code:

    Code:
    echo “<h1>”.get_the_title(avia_get_the_id()).”</h1>”;

    and replace it with:

    Code:
    //echo “<h1>”.get_the_title(avia_get_the_id()).”</h1>”;

    Hope it works. :)

    Best Regards,

    Ismael

    #70969

    Success! Thank you!

    Jodie

    #70970

    Hey!

    I’ll mark this topic as resolved.

    Let us know if there’s anything else :)

    Regards,

    Chris

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Remove page title from Home page’ is closed to new replies.