Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4841 closed enhancement (no action required)

Need a way to override buddypress-functions.php

Reported by: modemlooper's profile modemlooper Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.7
Component: Core Keywords:
Cc:

Description

Can we allow by adding buddypress-functions.php to our theme folder the ability to use that file instead?

Change History (4)

#1 @r-a-y
11 years ago

  • Keywords reporter-feedback added

I believe you can.

bp_load_theme_functions() should look for buddypress-functions.php in the following order by default:

Array
(
    [0] => /wp-content/themes/twentytwelve/buddypress
    [1] => /wp-content/themes/twentytwelve/community
    [2] => /wp-content/themes/twentytwelve
    [3] => /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress
    [4] => /wp-content/plugins/buddypress/bp-templates/bp-legacy/community
    [5] => /wp-content/plugins/buddypress/bp-templates/bp-legacy
)

This assumes that you're using Twenty Twelve as your active theme.

#2 @modemlooper
11 years ago

EDIT: I think it was the same issue with the theme switcher and ajax. Works now.

Last edited 11 years ago by modemlooper (previous) (diff)

#3 @modemlooper
11 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#4 @r-a-y
11 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.