-
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
hello, can you tell me how to add juste the foillow button in php or shortcode ?
best regards
You need to use the API for that.
1 2 3 4 |
<?php global $userpro_social; echo $userpro_social->follow_text('following_who_user_id', get_current_user_id() ); ?> |
The first param is user id to follow, the 2nd param is who will follow him.
Hey!
I put this in template view: echo $userpro_social->follow_text(‘following_who_user_id’, get_current_user_id() );
and nothing changes in number of followers of the user that i click to follow!
and after i test this
echo $userpro_social->follow_text(‘following_who_user_id’, $user_id );
and change the number of following of the user, and not followers.
I dont know if is a bug or not :/
but i test in template view and dont work…
You must be logged in to reply to this topic.