[Bb-trac] [bbPress] #1099: topic_class() does not assign sticky CSS
class in view.php
bbPress
bb-trac at lists.bbpress.org
Thu May 28 17:50:17 GMT 2009
#1099: topic_class() does not assign sticky CSS class in view.php
-----------------------+----------------------------------------------------
Reporter: zyml | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Front-end | Version: 1.0-rc-1
Severity: normal | Keywords: theme,functions,topic_class
-----------------------+----------------------------------------------------
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'); ?>>
}}}
--
Ticket URL: <http://trac.bbpress.org/ticket/1099>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list