Hello there, button usually show up automatically in all bp compatible themes.
If your theme overrides buddypress template, then make sure you have the following code in your theme file
do_action( 'bp_member_header_actions' );
It can be found in the following location
wp-content/themes/your_theme/buddypress/members/single/member-header.php
If you don’t see that file, then your theme uses default buddypress template and it should work
Have you fixed this problem?
Thread Starter
(@mumsco)
Hi Viruthagiri – sorry for the delay.
My theme was overriding bp template, so the code you gave works perfectly.
Thanks so much! Great plugin.
Thread Starter
(@mumsco)
Hi,
I updated the Compliments plugin and the button has gone missing again, even though I have still got
do_action( 'bp_member_header_actions' );
in my theme file?
@mumsco
If your theme overrides buddypress member-header.php file and have not included bp_member_header_actions hook, then you should talk with your theme author about it.
Because mostly all bp plugins relies on that hook to add buttons.
We have not modified much in our latest update. So i don’t think the problem comes from our plugin.
Thread Starter
(@mumsco)
Thanks for the reply, but I haven’t changed my theme, and the code fix was working before the plugin update?
Thread Starter
(@mumsco)
It’s working now – not sure what the problem was. Sorry!
You will not see that button in your own profile. Because you can’t send compliment yourself.