• The archive and search pages display the entire post instead of just the excerpt. I was hoping there would be a way to show the excerpt instead without using the <!–more–> feature.

Viewing 1 replies (of 1 total)
  • hi,

    in the ‘archive.php’ i changed the loop ‘get_template_part( ‘content’ );’
    for ‘get_template_part( ‘mynewcontentpagename’ );’

    then i created a ‘mynewcontentphpname.php’ changing ‘bento_post_content();’
    for ‘<?php the_excerpt(); ?>’

    it worked for me.

    i use a child-theme.

    i know there might be more professional ways of doing it..

    best,

Viewing 1 replies (of 1 total)
  • The topic ‘Show excerpt instead of full post on archive page’ is closed to new replies.