Shortcodes

#Story box Display story box. Paste box id into id parameter. #User stories Display user’s stories. Paste user id into id parameter. #Activities Display users activity. #Users’ merged stories Display user’s stories in single cycle. Paste user id into id paremeter. #Story publishing (single stories) Display user stories with publishing form. This stories will be…

Image Description

#Story box

Display story box. Paste box id into id parameter.

[wp-story id=""]

#User stories

Display user’s stories. Paste user id into id parameter.

[wp-story-user-stories id=""]

#Activities

Display users activity.

[wp-story-activities]

#Users’ merged stories

Display user’s stories in single cycle. Paste user id into id paremeter.

[wp-story-merged-user-stories id=""]

#Story publishing (single stories)

Display user stories with publishing form. This stories will be visible for only subscribers or friends. Also, users can delete single story items in publishing modal.

id: Displayed user id. Only current user must see this form. get_current_user_id() function can use.
subs: User's subscribers id. Ids must be comma seperated. Ie. subs="2,3,4,5"
modal: Display publishing modal content. If shortcode is using with [wp-story-public-stories], one modal must be 0.
[wp-story-single-stories id="" subs="" modal="1"]

#Story publishing (public stories)

Display user public stories with publishing form. This stories will be visible for public.

id: Displayed user id.
modal: Display publishing modal content. If shortcode is using with [wp-story-single-stories], one modal must be 0.
[wp-story-public-stories id="" modal="1"]

Was this article helpful to you?

Yes No

Related Articles