This can be corrected as follows:
1. Create folder in your theme directory /listings/loop/
(hope you’re using a child theme)
2. in /loop/ directory create file description.php
3. add this code
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<div class="description"><?php echo wp_trim_words( get_the_content(), 50 ); ?></div>
50 is number of words
you can change it to as many words as you want to appear
sorry for my bad english
-
This reply was modified 5 years, 2 months ago by gecatabg.