PDA

View Full Version : Displaying Star Graphics in Category Browse and Search Results


sobiz
04-28-2009, 11:41 AM
I'm using ElegantThemes' Coldstone, and I have no problem getting the star graphics showing up in the posts. However, when I'm browsing through the category or in the search results, the stars don't display, so it looks similar to http://best-laptop-reviews.com/category/dell/

An example of the stars displaying at the category level, which is what I'm going for:
http://baltimore-lawyers.org/category/directory

The only problem with baltimore-lawyers is that it also does not display the stars in search results:
http://baltimore-lawyers.org/?s=attny

ryan
04-28-2009, 12:57 PM
Nearly all of the ElegantThemes templates use a plugin that limits the content in the non-single post views. This plugin strips out any HTML from the post snippet and that's why you aren't seeing the star ratings. If you replace the_content_limit in the template with just "the_content()" then the ratings will appear.

In regards to the search results, that template doesn't include the content at all in the search results and most themes don't. If you edit the template manually and add "the_content()" to the loop, then the post content and stars will be shown.