Certain themes don't use the default post class structure in the loop ie
<div class="post-100 post type-post status-publish format-standard hentry category-uncategorized">
Spacing.ca, for example, doesn't use this structure. The posts in their loop use the following tag structure:
<div class="post-listing">
The result is that you cannot add classes to these sorts of posts in the main loop using:
add_filter('post_class', 'my_post_class')
I'd like to be able to add classes to specific posts in the loop given specific criteria (via a plugin im making) and can do it if themes use the standard structure first mentioned, but cannot do it if the theme uses the less typical structure in the 2nd code snippet.
Any thoughts on how I could add classes to posts when the theme uses the 2nd code snippet?
Thanks