Altering Project URL for Search Results
-
Hello,
I’ve successfully integrated the CP custom post type into a unified BuddyPress search, but my remaining hurdle remains getting the project links to point to the appropriate places. Currently they are taking on the post author user name (cp-bp.php shows it will take this as the default when it’s creating it’s permalinks), so it looks something like this:https://sitename.com/members/admin/projects/another-project
I’ve looked over the cp-bp-groups file where it creates the additional filter to change the slug to being group based, but unfortunately this is a bit over my head and I can not figure out how to hook it all together so that outside of a group page (ie: from the search results) I can hook the projects to the group they belong with and get the appropriate permalink.
Any help would be appreciated.
Thanks!
- The topic ‘Altering Project URL for Search Results’ is closed to new replies.