Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 14 years ago

#1379 closed enhancement (wontfix)

Widget and HTML

Reported by: petronic's profile petronic Owned by:
Milestone: Priority: major
Severity: Version:
Component: Core Keywords:
Cc: petronic

Description

What do you think about moving HTML away from widget classes to theme files? Or to have an option so if there is no needed theme file in active theme then widget can use his inline HTML.

I had a situation where in sitewide activities I wanted to place pagination after activity list and to do that I had to change the core file. Similar happened when I wanted to increase size of fetched gravatars.

Change History (1)

#1 @cnorris23
14 years ago

  • Component set to Core
  • Resolution set to wontfix
  • Status changed from new to closed
  • Type changed from defect to enhancement

BP uses the WP_Widget class to create it's widgets. You can use that class and the unregister_widget() function to then create your own widget that meets your needs.

Note: See TracTickets for help on using tickets.