-
Morgan Kay replied to the topic [Resolved] How to add a menu item to the groups page? in the forum Creating & Extending 10 years, 6 months ago
Thanks, @danbp! You’re right – the code works in a theme’s functions.php, but not in bp-custom.php or in a plugin file. That’s a bit annoying for my project, but definitely glad to have it working!
-
Morgan Kay replied to the topic [Resolved] How to add a menu item to the groups page? in the forum Creating & Extending 10 years, 6 months ago
I pasted all of the code from that page into my bp-custom.php, and it didn’t do anything.
I want to change the menu on a group page, not on a user profile page. So when you view something like example.com/groups/group-name, the default menu is this:
Home | Members | AdminI want to add an item to that menu, so it is:
Home | Members | Campaigns | Admin -
Morgan Kay started the topic Adding activity to groups loop in the forum Creating & Extending 10 years, 6 months ago
I am using the following code to add a custom post type to users’ activity streams:
[Read more]
add_filter ( 'bp_blogs_record_post_post_types', 'ecomukti_activity_publish_custom_post_types',1,1 );
function ecomukti_activity_publish_custom_post_types( $post_types ) {
$post_types[] = 'product';
return… -
Morgan Kay replied to the topic [Resolved] How to add a menu item to the groups page? in the forum Creating & Extending 10 years, 6 months ago
I have read over that page a dozen times, and tried the code samples, but they don’t seem to do what I want. Could you give me more guidance?
-
Morgan Kay started the topic [Resolved] How to add a menu item to the groups page? in the forum Creating & Extending 10 years, 6 months ago
I want to add a menu item to the groups page.
I have found plenty of information about how to use bp_core_new_nav_item() to add menu items to the profile page, and pages such as this http://themekraft.com/blog/customize-profile-and-group-menus-in-buddypress/ that explain how to add and reorder menu items on the groups page, but I haven’t been…[Read more]
-
Morgan Kay replied to the topic Creating subnav item to create a new group in the forum Creating & Extending 10 years, 7 months ago
Perfect! Thank you – that did the trick!
-
Morgan Kay started the topic Creating subnav item to create a new group in the forum Creating & Extending 10 years, 7 months ago
I have been trying to post my question on this forum, but I keep getting an error that says “Error: Your topic cannot be created at this time.”
So I posted my question on WordPress Answers:
http://wordpress.stackexchange.com/questions/144665/problems-with-redirecting-a-buddypress-custom-subnav-item -
Morgan Kay replied to the topic Rename "Groups" label on profile menu in the forum Creating & Extending 10 years, 7 months ago
I just figured out how to do this the other day and wrote a blog post about it:
Using BuddyPress Language Files to Customize Headers and Messages
I hope that helps!
@gwendydd
Active 2 years, 1 month ago