Best Way To Support Excerpts On Main Page
-
What’s the best, future-proof way to have the main page show excerpts (manual or automatically calculated by WordPress) instead of the full content?
When I set my site up a few years ago I created a child theme, copied the entire content.php file, and altered the post-content if-statement to the following:
if ( is_single() ) {
the_content();
} else {
the_excerpt();
}That worked until a recent theme update. Just wondering if there’s a better way to override just this class without having to override the entire content.php file.
Thanks,
BryanThe page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Best Way To Support Excerpts On Main Page’ is closed to new replies.