Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 16 years ago

#1379 closed enhancement (wontfix)

Widget and HTML

Reported by: petronic Owned by:
Priority: major Milestone:
Component: Core Version:
Severity: 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
16 years ago

  • ComponentCore
  • Resolutionwontfix
  • Status newclosed
  • Type defectenhancement

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.