Support » Fixing WordPress » Sticky post styling on pages other than the homepage

  • Resolved COTKPR

    (@cotkpr)


    I am looking to style sticky posts, which I have successfully been able to do via:

    <?php post_class(); ?>

    However, the class [and thus the style(s)] only appends to the post(s) on the homepage – not to any of the paged pages or the category/tag/search pages. Is there a way to have the .sticky class append to all posts which have been “stickied” site wide?

    Any help/thoughts would be appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sticky post styling on pages other than the homepage’ is closed to new replies.