WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

Reply To: How to remove "Read More" from "Section 6"?

Grace Themes

Hi Akash,

To remove the Read More button and links form title and image of Latest News section

Go to inc/custom-functions.php file of eaterstop-pro theme directory

or Go to Appearance -> Editor -> inc/custom-functions.php

at line no 812 find below code and replace with the new code
<a href="'.get_the_permalink().'"><img src="'.$imgUrl.'" alt=" " /></a>

New code: <img src="'.$imgUrl.'" alt=" " />

at line no 815 find below code and replace with the new code
<h6><a href="'.get_permalink().'">'.get_the_title().'</a></h6>

New code: <h6>'.get_the_title().'</h6>

To remove Read More button: at line no. 822 find below code and remove it
<a href="'.get_permalink().'">'.of_get_option('latestnewsreadmore').'</a>

If you are finding any difficulty in changing this code, please send your website URL and WordPress admin login details for temporary at [email protected] so we can check and solve your issues quickly.

Grace Themes