Chat with us, powered by LiveChat

    Looking For Something?

[wps-gallery]

Purpose

Displays a user’s gallery.

Availability

Provided in the Extensions 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-gallery]

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.

No permission text (no_permission_text=””)
Text prompt to edit gallery (edit_prompt_text=”Click the title to add a description and/or add items…”)
Gallery Security
Upload level label (upload_level=”Who can upload to this album?”)
Security level label (security_level=”Who can see this album?”)
Nobody option (nobody=”Just me”)
Friends option (friends=”Friends”)
All members option (members=”All Members”)
Public option (public=”Public”)
When viewing all albums…
No albums created text (empty_gallery=”No albums created yet…”)
Placeholder text to create an album (create_label=”Create a new album…”)
Placeholder text to create an album (create_placeholder=”Enter a title for your album…”)
Create button label (create_button_label=”Create”)
Cancel button label (cancel_button_label=”Cancel”)
Featured image size ¬†(pixels) (featured_image_size=”150″)
Show description (show_description=”1″)
Show count (show_count=”1″)
Maximum items shown (count=”100″)
Order field (orderby=”updated”)
When viewing a single album…
Optional CSS class for Add button (class=””)
Show slideshow by default (show_slideshow=”0″)
View slideshow text (slideshow_link=”View slideshow”)
Close slideshow text (slideshow_hide_link=”Close slideshow”)
Edit description text (edit_text=”Edit”)
Edit image information text (meta_text=”Image information”)
Description placeholder (meta_desc_txt=”Description…”)
Source placeholder (meta_source_txt=”Source…”)
Delete text (delete_text=”Delete”)
Are you sure question (areyousure=”Are you sure? This cannot be undone!”)
Maximum items shown (item_size=”150″)
Back to album text (back_to=”Back to Albums”)
Add items text (add_text=”Click here to select files to add, then click on Upload below…”)
Label for upload button (button_label=”Upload”)
Label for cancel button (cancel_button_label=”Cancel”)
Label for update button (update_button_label=”Update”)
Prompt to enter a description (edit_prompt_content=”Enter a description…”)
Comment avatar size (comment_avatar_size=”64″)
Label for add comment button (comment_label=”Add Comment”)
Link comment author to profile page (link=”1″)
Date format (date_format=”%s ago”)
Text for allowed file types (show_allowed_types=”You can upload the following file types: %s,%s.”)
Allowed image types (allowed_image_types=”jpg,png,gif,jpeg,svg”)
Allowed document types (allowed_document_types=”txt,rtf,pdf”)
Activate flip/rotate for images (effects=”0″)
When viewing either…
Optional CSS class for edit/cancel buttons (edit_and_cancel_class=””)
Text for gallery owner (show_owner=”Gallery owner: %s”)
Sidebar