Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #224944

    Hello,
    is it possible to have a blog post with full content and with read more working on home page ?

    i put a blog post on http://epsu-cj.eu/ with “full content”.
    And i insert a more tag on the first post “Transport public” after the first sentence,
    but it’s not working on home page…

    It’s working when i create a blog page and configure it in the Theme Options (And where do you want to display the Blog?),
    > (http://epsu-cj.eu/blog/) but in this case i can’t customize this page (no header, no title)…

    (i don’t want to use the excerpt).

    #225993

    Hey ceubri!

    Try to insert this code at the bottom of functions.php

    
    add_filter( 'post-format-standard', 'avia_category_content_filter', 15, 1);
    function avia_category_content_filter($current_post)
    {
    global $avia_config;
    global $more; 
    $more_bak = $more;
    
    if(!is_single() && empty($current_post['text_before']))
    {
    	$more = 0; 
    	$current_post['content'] =  get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span>');
    	$more = $more_bak;
    }
    return $current_post;
    }
    

    Cheers!
    Peter

    #226092

    HiiiHaa you’r the best !!
    The best support i never seen :)
    Thx

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘full content with read more’ is closed to new replies.