mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-05-31 05:04:29 +08:00
You should install all BuddyPress component plugin files in /wp-content/plugins/buddypress/ however you can call the "buddypress" dir anything you like. BuddyPress plugins can then be activated and deactivated through the "Plugins" admin panel. If you are upgrading to this version please move all BuddyPress plugins to the location mentioned above and then update. You will also need to make sure your themes reference the new locations. There are two constants you should use "BP_PLUGIN_DIR" and "BP_PLUGIN_URL". You will need to re-activate the plugins via the "Plugins" admin panel. Again, from now on BuddyPress will ONLY work with WPMU 2.7.1+ so please use the 2.7 branch from the WordPress MU SVN repo. Link: http://trac.mu.wordpress.org/browser/branches/2.7 git-svn-id: https://buddypress.svn.wordpress.org/trunk@1303 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
10 lines
291 B
PHP
10 lines
291 B
PHP
<?php
|
|
|
|
function bp_blogs_add_structure_css() {
|
|
/* Enqueue the structure CSS file to give basic positional formatting for components */
|
|
wp_enqueue_style( 'bp-blogs-structure', BP_PLUGIN_URL . '/bp-blogs/css/structure.css' );
|
|
}
|
|
add_action( 'bp_styles', 'bp_blogs_add_structure_css' );
|
|
|
|
|
|
?>
|