Flat 20% OFF on All Themes Package. Use Coupon Code GRC20 | Offer valid till 31st Oct 2021 Buy Now

Reply To: Latest news customisation

#7969
Grace Themes
Participant

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