Open glodeneye opened 5 years ago
see example in the search results /benjamin-dev/template-parts/content-search.php line 24
what ended up working was to use the
get_the_excerpt()
I think you might be using an older commit, can you pull from the latest commit on the "dev" branch and let me know if youre still seeing the issue? @glodeneye
so i'm trying to make a custom category page and use the built in the_excerpt() but it's returning the full text and not just the short excerpt example code: ` <?php // Check if there are any posts to display if ( have_posts() ) : ?> <?php // The Loop while ( have_posts() ) : the_post(); ?>
<?php endwhile; //end loop }//end if ?> `