Login

Diposting pada

[user-submitted-posts]

[usp-login-form]

[usp_display_posts]

[usp_display_posts]                           : default displays all submitted posts by all authors

[usp_display_posts userid=”1″]

: displays all submitted posts by registered user with ID = 1

[usp_display_posts userid=”Pat Smith”]

: displays all submitted posts by author name “Pat Smith”

[usp_display_posts userid=”all”]

: displays all submitted posts by all users/authors

[usp_display_posts userid=”all” numposts=”5″]

: limit to 5 posts from all users

[usp_gallery]

$size   = image size as thumbnail, medium, large or full -> default = thumbnail $before = text/markup displayed before the image URL     -> default = {a href='%%url%%'}{img src=' $after  = text/markup displayed after the image URL      -> default = ' /}{/a} $number = the number of images to display for each post  -> default = false (display all) $postId = an optional post ID to use                     -> default = false (uses global/current post) Notes:  Use curly brackets to output angle brackets Use single quotes in before/after attributes Can use %%url%% to get the URL of the full-size image Check out the source code inline notes for more info