Support » Theme: Magnus » Add excerpt below title on home page posts

  • Resolved hansmagne



    Magnus is a great theme. I was wondering if it is possible to add an excerpt of the blog-post to the main page, below the title.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael


    Forum Moderator

    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 -->


    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.

    Theme Author Hugo Baeta


    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.