Viewing 3 replies - 1 through 3 (of 3 total)
  • possibly edit content-home.php (preferrable in a child theme) and add the excerpt code below this line:

    </header><!-- .entry-header -->

    example code to add:

    <div class="entry-summary">
    		<?php the_excerpt(); ?>
    	</div><!-- .entry-summary -->
    Thread Starter hansmagne

    (@hansmagne)

    Thanks! Worked great! Created a child theme and tested. I put it inside the header-div, so it gets the same width etc as the header text.

    https://www.hansmagne.com/

    Theme Author Hugo Baeta

    (@hugobaeta)

    Hi @hansmagne! Glad that @alchymyth helped with a solution.

    The only thing I’d add to that is to do it in a child theme. If you edit the theme files directly, they will get overwritten when I issue updates to it. By placing the changes on your own child theme, you’ll guarantee those changes will never be overwritten! Hope this helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add excerpt below title on home page posts’ is closed to new replies.