This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://wordpress.org/extend/plugins/easy-post-types/ | |
Step 1: Download this plugin WP easy post types and activate. | |
Step 2: Create a post type called Groups | |
Click the drop down and add new. Add a new post type with the title of a groups slug. Example: say you have a group slug like this groups/bp-tricks, you would then create a group custom type post titled bp-tricks. Add something to the post editor box and hit save. | |
Important: If you’ve changed the slug of your Groups make sure to use the same name for your Post type! | |
What we are essentially doing is tricking WP and BP into using the same URL. So by creating a custom post type with the exact URL of a group we can override the front page with a WP page and then use the post editor to create anything. | |
Step 4: Edit a Template |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: BP Hide Name Field | |
* Description: Hides the default Name field on BuddyPress Registration form and Profile Edit screens. | |
* Plugin URI: https://gist.github.com/christianwach/06d878edc277ce1ca8a7e59a82052744 | |
* Version: 1.1 | |
* Author: Christian Wach | |
* Author URI: https://github.com/christianwach | |
*/ |