As far as I know wordpress uses the sticky class only on the frontpages. To use the sticky class as an identifier I like to have it inlisted generally in an archive loop (as for instances category names).
Is there a simple way to push the class into the archive template?
This can be done using the built-in WordPress post_class filter.
Add the below code to your functions.php file (in your theme), and it should add the “sticky” class to posts that are sticky in any archive template.
Important Note: This relies on the archive template files being properly coded. If you look at the template, and it does not contain code that looks something like so:
Then the template is wrong, and the code will not work, because there’s nothing to “filter”.