Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #381130

    Is there a way to easily add the post except onto a blog post beneath the title?

    #381439

    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

    #382877

    i was curious how to do it on an individual blog post, not the list of blog posts on the blog page.

    #383104

    Hi!

    Thank you for coming back.

    Have a look at this post:

    https://kriesi.at/support/topic/sequel-cut-excerpt-off-at-more-tag-instead-of-using-wordcharacter-count/

    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

    #383242
    This reply has been marked as private.
    #383607

    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">  &rarr;</span>');
    }
    return $current_post;
    }
    

    Cheers!
    Günter

    #389720

    great. thanks!

    #389982

    Hey!

    Glad we could help you. Enjoy the theme.

    Best regards,
    Günter

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Blog Post Excerpt’ is closed to new replies.