Hi Tim
Let me start by saying this plugin is genius and I love it. Specially when you introduced the ability to exclude categories from the front page [I exclude all but one from displaying]
All my blog pages such as the main categories, tags, archives and search pages all display excerpts of each post that have a thumbnail [produced by plugins]. Is it possible to have a template tag that instead of showing the full post [%post_content%] could just show the excerpt [%post_excerpt%]?
Kind regards
Gemma Wild
http://wordpress.org/extend/plugins/blog-in-blog/
timhodson
Member
Posted 2 years ago #
Hi Gemma,
blog-in-blog will automatically show only an excerpt if you use the wordpress <!--more--> tag in the post.
However, If you use the excerpt field specially, then I have added a tag %post_excerpt%. this is present in version 0.9.5 onwards of my plugin. I have literally just committed the changes to svn, so you should be able to download it within about 15-30 mins of this post.
(BTW: I wish wordpress would email me when there is a post about my plugin! Then I could have responded 2 weeks ago!)
Hope this helps.
Kind regards
Tim
timhodson
Member
Posted 2 years ago #
Sorry, What doesn't work? and in what way?
Thanks
Tim
ntrantham
Member
Posted 2 years ago #
Tim,
It still doesn't work. If there is no explicit excerpt created your plugin returns nothing if the template uses %post_excerpt%
I have added some code to your process excerpt function to auto-generate a fake excerpt if one is not all ready present. The problem I am having is that it will not process the more tag correctly after doing this. The process more tag function will strip the more tag from the text, but it will not add the link to the article. Not sure what is happening...