Hello,
I can see you already have a child theme ( restimpo-child
). A+ for that.
- Copy
content-archives.php
file to your child theme.
- Edit that file in the new location, and find this bit of code:
<div class="post-entry-content"><?php if ( $restimpo_options_db['restimpo_content_archives'] != 'Excerpt' ) { ?><?php global $more; $more = 0; ?><?php the_content(); ?><?php } else { the_excerpt(); } ?></div>
- update the code to:
<div class="post-entry-content"><?php if ( $restimpo_options_db['restimpo_content_archives'] != 'Excerpt' ) { ?><?php global $more; $more = 0; ?><?php the_excerpt('100'); ?><?php } else { the_excerpt(); } ?></div>
<a class="read-more" href="<?php echo get_permalink(); ?>"><?php _e( 'Read more >', 'restimpo' ); ?></a>
And of course you can control how much to show in the excerpt. just change 100 to how much you want in the_excerpt('100');
Notice: the excerpt wont show any HTML elements.
Post a feedback if it worked, or further questions.