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!
Show Blog summary on Home page
14 posts from 4 voices-
Posted 6 months ago #
-
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
Posted 6 months ago # -
Excellent, should have thought about that! Thanks
Posted 6 months ago # -
Glad we could help :)
Regards,
Devin
Posted 6 months ago # -
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
Posted 6 months ago # -
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
Posted 6 months ago # -
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.
Posted 6 months ago # -
I've tried using this but I'm struggling
http://wordpress.org/support/topic/excerpts-no-read-more-link
Jay
Posted 6 months ago # -
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>';Posted 6 months ago # -
Hey Dude,
That kinda does what I'm looking for but the link doesn't show the full post content, only the excerpt.
Hmmm
Posted 6 months ago # -
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.
Posted 6 months ago # -
Hey!
I adjusted the code a bit. Please try it again.
Best regards,
PeterPosted 6 months ago # -
That's really great! Thanks for helping out guys!
Love the theme and love Kriesi.at
Jay
Posted 6 months ago # -
Hey,
Glad it is fixed.
Regards,
IsmaelPosted 6 months ago #
Topic Closed
This topic has been closed to new replies.














