Is there a way to easily add the post except onto a blog post beneath the title?
Hey blankonblank!
Thank you for using Enfold.
The excerpt or post content should show underneath the title by default. Looks like you figured it out. Is that correct?
Regards,
Ismael
i was curious how to do it on an individual blog post, not the list of blog posts on the blog page.
Hi!
Thank you for coming back.
Have a look at this post:
Maybe it will help you.
But actually it does not make sense to cut off the text on a single post page without any further logic behind.
Cheers!
Günter
Hey!
Thank you for coming back.
You can try to change the code from the post above to something like:
function avia_category_content_filter($current_post)
{
if( is_single() )
{
global $more;
$more = 0;
$current_post['content'] = get_the_excerpt();
$current_post['content'] .= get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> →</span>');
}
return $current_post;
}
Cheers!
Günter
great. thanks!