Skip to:
Content

bbPress.org

Opened 6 years ago

Closed 4 years ago

#2536 closed enhancement (fixed)

Forums widget, current forum class

Reported by: dimitrov.adrian Owned by: johnjamesjacoby
Milestone: 2.6 Priority: normal
Severity: normal Version: trunk
Component: API - Widgets Keywords: has-patch 2nd-opinion
Cc:

Description

Will be nice if we have a class that indicate in widget that we are on current forum

Attachments (2)

widgets.php.patch (776 bytes) - added by dimitrov.adrian 6 years ago.
2536.diff (814 bytes) - added by netweb 5 years ago.

Download all attachments as: .zip

Change History (5)

#1 @dimitrov.adrian
5 years ago

  • Milestone changed from Awaiting Review to 2.6

@netweb
5 years ago

#2 @netweb
5 years ago

  • Keywords 2nd-opinion added

Refreshed patch against /trunk:

  • Add a CSS class bbp-forum-widget-current-forum to the <li> element for the current forum in the forums widget.

#3 @johnjamesjacoby
4 years ago

  • Owner set to johnjamesjacoby
  • Resolution set to fixed
  • Status changed from new to closed

In 5845:

Widgets: Add class to forum widget to indicate if item in list is the current forum being viewed.

Props dimitrov.adrian, netweb. Fixes #2536.

Note: See TracTickets for help on using tickets.