Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #158453
    shootaballinger
    Participant

    I didn’t give my pages a title which removed the page title under the header. There must be a better solution to remove the page title. Waiting for the rescue from Skandha!

    #158454
    shootaballinger
    Participant

    Solved my own problem by removing this code from Adonis: content-page.php (template-parts/content/content-page.php)

    <header class=”entry-header”>
    <?php the_title( ‘<h1 class=”entry-title”>’, ‘</h1>’ ); ?>
    </header><!– .entry-header –>

    Sorry Skandha but you were just to slow to responded this time.

    #158464
    Sakin
    Keymaster

    @shootaballinger: Sorry, it was bit late as due to festival here. It’s nice that you fixed it by yourself. Just a note. Please don’t remove or add any code in core theme files as these files will be reverted back to original when you update the theme and then you will loose your edits. So, if you need to edit any code theme file, then build child theme and then edit it there. In this way, your edits will be safe.

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