5 years, 3 months ago
@shanebp Sorry. I was looking in Personal activity sub tab, not Friends activity sub tab.
I try, with no result.
5 years, 4 months ago
Found a solution: replace bp_init by init.
Thanks for the help. I will analyse my code.
Thanks for the explanation.
I think is better to share my members/single/home.php. Here is the link:
The action is in line 129.
I want to put these buttons in another place of the layout.
That’s why I add this action to home.php file.
What is the correct way to this?
I removed this line: do_action( 'bp_member_header_actions' ); from members/single/cover-image-header.php and add it in members/single/home.php file.
do_action( 'bp_member_header_actions' );
5 years, 6 months ago
But there is still a problem: in bp-custom.php, count_user_posts is not working with CPTs. And I’m using latest version of WP. You known why?
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service