2 years, 9 months ago
Can anyone help me in this:
I am looking something like, once user click on favorite button it will update on real time. Right now when user click on this button its re-loading whole page.
Looking for helping hands..
That’s how it works with JS. No idea if you can modify easely this behave between BP/theme and client side… personnally, i can’t help you with that.
And the codex is not very verbose about favorites.
If interest to study code, see here.
Thanks for your reply on this.
OK if this is not easy then can you please let me know how I can add ‘rel’ attribute in favorite button link?
like: <a href=".." rel='activity_id'>
same as in ‘Reshared’ button.
<a href=".." rel='activity_id'>
OK I found this myself bp_activity_id();
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service