Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #221040

    Hi,

    I have chosen my blog style through the ‘General Settings’ menu and have set it to ‘Multi Author Blog’. However, I am wanting to set the Blog Content Length (on the blog’s home page – http://mydomain.com/blog) to Title, Excerpt and Read More Link (much like you can in the advanced layout editor) and right now it is showing full posts.

    In the advanced layout editor on the blog homepage, I have set my Blog Posts this way, but it is not applying the settings to the page.

    Am I missing something?

    #221204

    Hey murphy88!

    You can use the read more quicktag: http://en.support.wordpress.com/splitting-content/more-tag/ to generate the excerpt. If you want to use the “excerpt” field content as excerpt add following code to functions.php (insert it at the very bottom):

    
    add_filter( 'post-format-standard', 'avia_category_content_filter', 15, 1);
    function avia_category_content_filter($current_post)
    {
    if(!is_single())
    {
    	$current_post['content'] =  get_the_excerpt();
    	$current_post['content'] .= '<div class="read-more-link"><a href="'.get_permalink().'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span></a></div>';
    }
    return $current_post;
    }
    

    Best regards,
    Peter

    #221717

    I’ve added the code to my child theme’s functions.php and it seems to crash the site. Is there anyway to add this without causing an error? Or must it be included in the parent theme’s functions.php?

    #221764
    This reply has been marked as private.
    #222085

    Hey!

    1) Please make sure your allocated memory is set to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP and insert the code at the very bottom (last line) of functions.php.

    2) If it still doesn’t work please create me an admin account and post the login credentials as private reply.

    Regards,
    Peter

    #222273

    Got it to work. Thanks, Peter!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Setting Blog to Multi-Author, Big Preview Blog with Title, Excerpt & Read More’ is closed to new replies.