support@gracethemes.com

Reply To: Latest news customisation

Home Support Endanger WordPress Theme Latest news customisation Reply To: Latest news customisation

#7969

Grace Themes
Keymaster

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