Site icon Grace Themes

Reply To: Latest news customisation

Hi You need to make some small changes in custom-functions.php file Go to Appearance -> Editor -> inc/custom-functions.php at line no. 804 you will find the below code
<div class="news">
    <h5>'.get_the_title().'</h5>
    <p>'.wp_trim_words( get_the_content(), of_get_option('newscontentlength'), '...' ).'</p>
    <div class="view-all-btn"><a href="'.get_permalink().'">'.of_get_option('readmoretext').'</a></div>
</div>
Now just replace this with below modified code
<div class="news">
    <h5>'.get_the_title().'</h5>
    <p>'.get_the_content().'</p>
</div>
This will display complete text without Read More button. Regards Grace Themes
Exit mobile version