bp_core_new_nav_item() not working to create new navigation item under “my profile” tab
-
So I’m trying to add a new navigation under the “my profile” tab in buddypress once a user logs in. I created and am using the bp-custom.php file in my wp-content/plugins directory (outside of the buddypress directory) to insert the custom code. This is what I have and it’s not working simply causes
This is the code I have in bp-custom.php file (and that’s all I have!)
`<?php
//place for custom buddypress functions
bp_core_new_nav_item(
array(
‘name’ => ‘feedback’,
‘slug’ => ‘Feedback’
));?>`
I got the following error in my browser.
Server error
The website encountered an error while retrieving http://tugora.com/. It may be down for maintenance or configured incorrectly
I am using the frisco for buddypress theme, not sure if this is part of my problem.
What can I do to fix this error? (move bp-custom? misuse of function? theme incompatibility?) Thanks in advance!
-Alex
You must be logged in to reply to this topic.