Is it possible to assign classes to elements of certain type?
For example, all paragraphs in the post body or comment body should have class=”paragraph”, all unordered lists in post body should have class=”list”, and so on.
1 comment
Comments are closed.
Jquery solution:
**assuming your posts are in a division with the class of “post”.
Paste this in your footer.
*you need jquery installed. And better yet would be to enque this using http://codex.wordpress.org/Function_Reference/wp_enqueue_script