WordPress User Submitted Posts - Adding Form Shortcode
User Submitted Posts Shortcode
TIP: What Are Shortcodes
Shortcodes add dynamic content to your site via a small piece of code.
Learn more: Shortcodes - How To Use | Finding ID of Post/Page/Other Content
The WordPress User Submitted Posts plugin allows users to submit posts without going to the admin page.
Add a post submission form on any page or post using the shortcode [add_post_form]
Form displayed in a page:
The form has a title, button to add media, and a text editor. These settings can be edited in Settings. You can also add categories to the form based on the plugin settings.
The shortcode has a few parameters:
- acf_field_group_key - Allows to add custom fields provided by the Advanced Custom Fields (ACF) plugin to the submission form. You should pass the key of the group of fields. Learn more about it in this guide: WordPress User Submitted Posts - How To - Add Advanced Custom Fields (ACF) Into Submission Form
- Example: [add_post_form acf_field_group_key="group_61e411e495be9"]
- woo_product_id - Allows to override the global WooCommerce price defined in the plugin settings. This way you can place multiple forms with different prices for submitting posts. You should pass the WooCommerce product ID. Requires the CM User Submitted Posts Payments add-on to be installed and activated. Note: this parameter is supported since the add-on version 1.0.8.
- Example: [add_post_form woo_product_id="1001"]
- edd_product_id - Allows to override the global Easy Digital Downloads (EDD) price defined in the plugin settings. This way you can place multiple forms with different prices for submitting posts. You should pass the EDD product ID. Requires the CM User Submitted Posts Payments add-on to be installed and activated. Note: this parameter is supported since the add-on version 1.0.8.
- Example: [add_post_form edd_product_id="2002"]
More information about the WordPress User Submitted Posts plugin Other WordPress products can be found at CreativeMinds WordPress Store |
|
Let us know how we can Improve this Product Documentation Page To open a Support Ticket visit our support center |