Ticket #1099 (closed defect: fixed)
topic_class() does not assign sticky CSS class in view.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0 |
| Component: | Front-end | Version: | 1.0-rc-1 |
| Severity: | normal | Keywords: | theme,functions,topic_class |
| Cc: |
Description
If you were to use the topic_class() function for the stickied posts in the view.php template, the function does not assign 'sticky' CSS class to stickied posts like it normally does in other templates.
The workaround for me would be to manually assign the class myself:
<?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>
<tr<?php topic_class('sticky'); ?>>
Change History
Note: See
TracTickets for help on using
tickets.
(In [2137]) Give stickies some class in views. Fixes #1099