support@gracethemes.com

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

Home Support EaterStop WordPress Theme How to remove "Read More" from "Section 6"? Reply To: How to remove "Read More" from "Section 6"?

#5829

Grace Themes
Keymaster

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 support@gracethemes.com so we can check and solve your issues quickly.

Regards
Grace Themes

  • This reply was modified 5 months, 1 week ago by  Grace Themes.
  • This reply was modified 5 months, 1 week ago by  Grace Themes.