Displays the friendship status of a user with the current user.
Displays the friendship status between the currently logged in user, and the user who is being viewed. Good idea to add this to the profile page.
Provided in the Core Plugin.
You can use the global shortcode settings via WPS Pro->Shortcodes in the admin dashboard, or add them to the shortcode as options.
Display status, changing text shown if not friends:
[wps-friends-status friends_no="You are not friends at the moment"]
So, to simply display the status of the “friendship” between the currently logged in user, and the user whose profile page is being viewed, you simply add the following to the profile page:
The following (which shows default values and an example of using the shortcode option) can be set via the admin dashboard (WPS Pro->Shortcodes) or added as options to the shortcode in your WordPress page, post or widget.
|You are friends text||(friends_yes=”You are friends”)|
|Friend request pending text||(friends_pending=”You have requested to be friends”)|
|You have a friend request text||(friend_request=”You have a friends request”)|
|You are not friends text||(friends_no=”You are not friends”)|