Webriti Support Forum
WordPress Premium Themes
Latest News Section-Read More Button
I am having difficulties getting the
button to appear on the Home Page/Latest News section. Also, some of the words are breaking up words in inappropriate places,
bhillsparkd.org is the Home Page and you'll need to scroll down the page to see the Latest News section.
Thanks for asking query to us .
If you want to show your desired content in Latest new section and then will show Read More .
Follow the given below instruction .
1 Find the index-news.php file (located in your theme directory ).
2 Edit and Find the below line of code on line no 61 .
<p><?php echo get_home_blog_excerpt(); ?></p>
3 And replace it with below line of code .
<p><?php echo the_content(' Read More',''); ?></p>
Then insert more tag into the post editor content where you want to show read more button .
Regarding more tag
refer this link
Let me know for any confusion .
I am using the Appointment Pro theme, does that make a difference?
Because I'm not finding the code
<p><?php echo get_home_blog_excerpt(); ?></p> on line 61.
Is the the line I should replace: $post_thumbnail_id = get_post_thumbnail_id();
See the snapshot , suggested code located on line no 61 .
Pls again open the
file and check .
Thank you! Problem was resolved.
Okay grt !
Look forward see you again .
This discussion has been closed.