Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to Change Widget Titles(e.g. Members, Who’s online, ext)?


  • Jeremy Winter
    Participant

    @jjwinter

    I have looked through all of the core files but I still can not seem to find where the widget titles are generated.

    Any ideas on how this can be done? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

  • Burt Adsit
    Participant

    @burtadsit

    The widget titles are hardcoded at the moment. Which one do you want to change? Here’s the pattern for each:

    Members widget – /mu-plugins/bp-core/bp-core-widgets.php

    Lines 12/13 :

    register_sidebar_widget( __('Members', 'buddypress'), 'bp_core_widget_members');
    register_widget_control( __('Members', 'buddypress'), 'bp_core_widget_members_control' );

    Change ‘Members’ to ‘Whatever’

    If you have them running already they will disappear from the backend and your theme. Just put put them back again.


    Jeremy Winter
    Participant

    @jjwinter

    Excellent, that worked perfectly. I thought that I had tried that before, but obviously, if I did, I failed miserably.

    I should be able to find the rest that I need to change from that example. Thanks for the help(again) Burt.


    castelar
    Participant

    @jeffca

    Could this be added in the Buddypress Settings, in site admin – possibly under “Base profile group name” field?

    It would be nice to enter a name for each, and all places ie. ‘Members’ is mentioned it would be updated to chosen name.

    Members could be named anything – Patrons, Users, Constituents, Associates, Individuals, People etc.

    Groups could be Teams, Bands, Parties, Crowds, Communities, Gangs, Scenes etc.


    mspecht
    Participant

    @mspecht

    Could this be done initially via a custom translation?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to Change Widget Titles(e.g. Members, Who’s online, ext)?’ is closed to new replies.
Skip to toolbar