Show Title Only using 'the_excerpt()'
-
https://ahy4life.com/test2/index2.php
Using the code below (between the backticks):
‘
<?php the_excerpt(); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?><h2><?php the_title(); ?></h2>
<?php the_excerpt(); ?>
‘
I seem to only be able get Title AND part of the body. Is there a way to adjust this so that only the title shows, with a ‘Read More…’ linked to the events.php page?Thx
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Show Title Only using 'the_excerpt()'’ is closed to new replies.