If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Hi, I would like to include a small intro to the latest news blog posts on the home page – I believe this is referred to as an excerpt.
Could you please let me know how to include it in the code?
in functions.php replace:
<span class="latpostex">'.get_the_excerpt().'</span><span class="meta">
You can style the excerpt text with the latpostex css class.
I had the same problem but couldn’t find the <span class=”meta”> in the functions.php
the line can be found on line 86 in the functions.php file (of the levitation theme).
The topic ‘Add excerpt to latest news on home page’ is closed to new replies.