agraveman
Member
Posted 1 year ago #
I like this category post widget. After hours of search, this turn out to be a nice solution.
I have a problem with that though, when I chose to show excerpts with mulitiple post in a category, only the excerpt of the most recent post is posted, and distrubute under all the post in that category. Can you help me to solve this problem, thank you.
flypaperstudios
Member
Posted 1 year ago #
I am having the same problem.
ZephyrWest
Member
Posted 1 year ago #
I'm busy for the next couple weeks, but I will look into this problem when I have some time.
anjuliayer
Member
Posted 1 year ago #
@ZephyrWest
You can find a fix in this diff. Let me know if it doesn't work for you.
http://gist.github.com/10431
For those of you who have no idea what a diff is and just want to replace the file, just look at that link. Open cat-posts.php from the plugin. Remove the 2 lines that you see in red (starting with echo ;. Replace them with the one line you see in green (starting with echo <br /> . $post->post_excerpt;).
Anjuli
donniedarko79
Member
Posted 1 year ago #
Thanks a lot
That fixed the issues that I have encountered :-)
donniedarko79
Member
Posted 1 year ago #
I just noticed that I have the same problem with the date.
Can you do something similar to fix this problem as well?
donniedarko79
Member
Posted 1 year ago #
I found the solution for the date problem. Here it is:
echo $post->post_date = date("F j, Y",strtotime($post->post_date));
It did the trick for me.