buddypress主题
In WPMU, there was an option that would let you add Buddypress function on all multi-blogs (network blogs) installed under the main installation. Due to the big merge in WordPress 3.0, now you can enable BuddyPress in WordPress using the wp-config.php file as well.
在WPMU中,有一个选项可让您在主安装下安装的所有多博客 (网络博客)上添加Buddypress功能。 由于WordPress 3.0中的大量合并 ,现在您也可以使用wp-config.php文件在WordPress中启用BuddyPress。
Simply open your wp-config.php file and add the following line.
只需打开wp-config.php文件并添加以下行。
define ( 'BP_ENABLE_MULTIBLOG', true );
This trick was shared by David Hunt in our Facebook Community.
David Hunt在我们的Facebook社区中分享了此技巧。
Note: Do this only if you want Buddypress to show up across all blogs in the system. It’s not required.
注意:仅当您希望Buddypress显示在系统中的所有博客中时,才执行此操作。 不是必需的
翻译自: https://www.wpbeginner.com/wp-tutorials/how-to-enable-buddypress-in-wordpress-3-0/
buddypress主题