Chat with us, powered by LiveChat

    Looking For Something?

[wps-is-friend-content]

Purpose

Hides content if users are not friends.

Availability

Provided in the Core Plugin.

Customising

You can use the global shortcode settings via WPS Pro->Shortcodes in the admin dashboard, or add them to the shortcode as options.

Example

[wps-is-friend-content]CONTENT[/wps-is-friend-content]

Options

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.

Text shown if are not friends (not_friends_msg=”Sorry, you are not friends!”)
Show friendship action buttons (include_friendship_action=”1″)
Make friends label (friend_add_label=”Make friends”)
Cancel friendship request label (friend_cancel_request_label=”Cancel Request”)
Request made text (request_made_msg=”You have received a friend request from this user.”)
Accept request label (accept_request_label=”Accept Friendship”)
Reject request label (reject_request_label=”Reject”)
Sidebar