Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #17595

    I have used Eunoia template builder to setup the home page and want to have the blog showing 3 most recent posts but only in summary format not the full post. The options don’t allow me to do this. What is the solution? Please help!

    #96042

    Hi JayButcher,

    You’ll need to use the more tag to tell wordpress and the theme where to cut off the individual blog post. You can find the More Tag button in the first row of the visual editor toolbar or by pressing Alt+Shift+T .

    Regards,

    Devin

    #96043

    Excellent, should have thought about that! Thanks

    #96044

    Glad we could help :)

    Regards,

    Devin

    #96045

    Ok one more quick question on this…

    If I want to craft my own excerpts rather than using the More Tag…does Eunoia use the excerpt field?

    Jay

    #96046

    Hey Jay,

    No it doesn’t by default but you can change the file to do that if you’d like. You’ll need to open includes>loop-index.php and search for:

    $current_post['content'] = get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow">

    replace it with:

    $current_post['content'] = get_the_excerpt(__('Read more','avia_framework').'<span class="more-link-arrow">

    and save the file back on the server. Now the blog overview page will use the excerpt instead.

    Regards,

    Devin

    #96047

    Hi Devin – that’s excellent and exactly what I was looking for…is there anyway of forcing a “Read More” tag in those excerpts at all? No biggie if not.

    #96048

    I’ve tried using this but I’m struggling

    http://wordpress.org/support/topic/excerpts-no-read-more-link

    Jay

    #96049

    Afaik the get_the_excerpt function won’t add a read more link automatically. You can try following code though:

    if (is_single()){
    $current_post['content'] = get_the_content();
    }else{
    $current_post['content'] = get_the_excerpt();
    }
    $current_post['content'] .= '<a href="'. get_permalink() .'" rel="bookmark" title="' . __('Permanent Link:','avia_framework').' '. get_the_title() .'"><span class="more-link-arrow">Read more</span></a>';

    #96050

    Hey Dude,

    That kinda does what I’m looking for but the link doesn’t show the full post content, only the excerpt.

    Hmmm

    #96051

    Sorry better English is probably required…

    The code at the top of this page grabs the excerpt text – which is exactly what I want, for the front page of a blog or category listing.

    Your latest code adds the Read More text to the end of that – which is also great!

    BUT

    when I hit the read more link it only shows the excerpt text not the whole post.

    #96052

    Hey!

    I adjusted the code a bit. Please try it again.

    Best regards,

    Peter

    #96053

    That’s really great! Thanks for helping out guys!

    Love the theme and love Kriesi.at

    Jay

    #96054

    Hey,

    Glad it is fixed.

    Regards,

    Ismael

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘Show Blog summary on Home page’ is closed to new replies.