![]() |
Easily submit posts and images from the front-end of your site. |
Noted That:
|
Start the Tips:1. First Download "user-submitted-posts.zip" Plugin to your Local Computer. (Click Download) 2. Then, Login to your "yourdomain.com/wp-admin" Dashboard. 3. Then, Click on "Plugins" + "Add New" from left sidemenu of Dashboard. 4. Now, Click on "Upload Plugin" button.
5. Now, Browse "user-submitted-posts.zip" Downloaded plugin from your computer, Where you downloaded user-submitted-posts.zip According to Step – 1 Above then, click on "Install Now" 6. Now, Click on "Active Plugin" 7. Then, See left sidemenu. "User Submitted Posts" folder is added on left sidemenu. Now, Click on "User Submitted Posts" folder. Noted that: If you do not see "User Submitted Posts" folder on left sidemenu then, see at left sidemenu "Settings" or "Tools". 8. Now you configure yourself oR Watch video tutorial below about User Submitted Posts Configurtions and Settings or How to work "User Submitted Posts" in your WordPress site. oR After Activated Plugin According to Step-6 then,
![]() |
Guide |
---|
How to install the plugin
More info on installing WP plugins How to use the pluginTo display the form on any WP Post, Page, or widget, add the shortcode:
Or, to display the form anywhere in your theme, add the template tag:
Customizing the formThere are three main ways of customizing the form:
USP Hooks:
Check out the complete list of action hooks for User Submitted Posts More info about WordPress Actions and Filters Custom Submission FormOut of the box, User Submitted Posts provides a highly configurable submission form. Simply visit the plugin settings to control which fields are displayed, set the Challenge Question, configure submitted images, and much more. There are situations, however, where advanced form configuration may be required. In order to allow for this, USP makes it possible to create a custom submission form. Here are the steps: First, copy these two plugin files:
Then, paste those two files into a directory named
Lastly, visit the plugin settings and change “Form style” to “Custom Form + CSS”. You now may customize the two files as desired; they will not be overwritten when the plugin is updated. For help with making basic changes to the custom form, check out the USP FAQs at Perishable Press. Alternately, you can set the option “Form style” to “HTML5 Form + Disable CSS” to use the default USP form along with your own CSS. FYI: here is a list of USP CSS selectors. Or, to go further with unlimited custom forms, check out USP Pro ???? Displaying submitted postsUser-submitted posts are handled by WordPress as regular WP Posts. So they are displayed along with your other posts according to your theme design. Additionally, each submitted post includes a set of Custom Fields that include the following information:
There are numerous ways to display these Custom Fields. The easiest way is to visit the plugin settings and configure the options available under “Auto-Display Content”. There you can enable auto-display of submitted email address, URL, and images. Note that submitted images also are uploaded to the WP Media Library. For more flexibility, you can use a variety of WP Template Tags (e.g., get_post_meta()) to display Custom Fields. Here are some tutorials for more information: And here are some tutorials that may help with custom display of submitted images: Also, here is a Helper Plugin to display Custom Fields. It originally is designed for use with USP Pro, but also works great with the free version of USP. Auto Display ImagesTo automatically display submitted images on the frontend, visit the plugin settings, “Images Auto-Display” and select whether to display the images before or after post content. Save changes. Featured ImagesTo set submitted images as Featured Images (aka Post Thumbnails) for submitted posts, visit the plugin settings, “Image Uploads” and check the box to enable “Featured Image”. Save changes. ShortcodesUser Submitted Posts provides a set of useful shortcodes. Check out the “Display the Form” panel in the plugin settings for examples and more information.
Here is more info about these shortcodes:
Displays the post-submit form. This shortcode does not accept any attributes.
Displays the login/register/password form. This shortcode does not accept any attributes. To add Google reCaptcha to the form, you can use any good reCaptcha plugin. Here are a few examples: These are not endorsements for these plugins. They have been tested and work with the USP login/register/password form.
Displays a list of all submitted posts. This shortcode accepts two optional attributes, “userid” and “numposts”. Examples:
So the shortcode attributes can be used to customize the post list as desired. Note that the Pro version of USP provides many more options for the display-posts shortcode.
Note: This shortcode works only when added to a submitted post. It does nothing when added anywhere else. Displays a gallery of all submitted images for the current post. Customize via the following attributes:
Displays a button to reset the form. Accepts the following attributes:
Note that the
Limits access to specific user capability. Example:
The
Limits access to visitors (not logged in) only. Example:
This shortcode accepts an optional
Limits access to logged-in users. Example:
This shortcode accepts an optional Template tagsUser Submitted Posts provides a set of useful template tags:
These template tags should work out of the box when included in your theme template file(s). Keep in mind that for some of the tags to work, there must be some existing submitted posts and/or images available. The source code for these tags is located in UpgradesTo upgrade User Submitted Posts, remove the old version and replace with the new version. Or just click “Update” from the Plugins screen and let WordPress do it for you automatically. Important! The Note: uninstalling the plugin from the WP Plugins screen results in the removal of all settings from the WP database. Submitted posts are NOT removed if you deactivate the plugin, reset default options, or uninstall the plugins; that is, all submitted posts must be removed manually. Restore Default OptionsTo restore default plugin options, either uninstall/reinstall the plugin, or visit the plugin settings > Restore Default Options. UninstallingUser Submitted Posts cleans up after itself. All plugin settings will be removed from your database when the plugin is uninstalled via the Plugins screen. Submitted posts are NOT removed if you deactivate the plugin, reset default options, or uninstall the plugins; that is, all submitted posts must be removed manually. Pro VersionPro version of USP now available! USP Pro includes many more awesome features and settings, with unlimited custom forms, infinite custom fields, multimedia file uploads, and much, much more.
Like the plugin?If you like USP, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you! |
your, site, front, images, submit, posts, easily, |
Name |
---|
Reffered: https://wordpress.org/