Chat with us, powered by LiveChat

    Looking For Something?

[wps-friends-count]

Purpose

Displays the number of friends (accepted or pending) a user has.

 

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

The example shows pending friendship requests and sets it as an (optional) link to the friends page:

[wps-friends-count status="pending" url="/friends"]

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.

User (user_id=””)
Status (status=”accepted”)
Link (optional) (url=””)
Sidebar