There are many reasons to use user front-end forms for content publishing. A variety of WordPress plugins enable this feature with their own customization capabilities and restrictions. The intention remains the same: Allowing users to post from the front-end, avoiding the generic WP admin dashboard and easy customization.
Our recently published free plugin, Mage Front End Forms aims to keep this process as seamless and flexible as possible.
User Front End Post Form Capabilities
The main features that distinguish the Mage Forms plugin are the multiple forms that can be created, for every post type, and the customize-ability, unique to each created front-end form.
You may add as many front-end user forms with Add Form, each containing the following settings:
- Select the Post Type including custom post types and the Minimum User Role if not public.
- Choose to redirect users to the submitted post or to any other destination, and whether the post is submitted as pending, draft or published immediately.
- Each created form can be set to notify an email after successful submissions and even assign a custom post author for forms accessible by non-logged-in users.
Building Front End Forms
You have complete control over every input field, which to include and where to place them by using the WP Front End form editor. The form elements, including the submit button, are listed in shortcode format within each New/Edit Form page, which can be placed and customized as desired.
The only form elements required, regardless what post type a form is set to, are the title,
[text name="post_title" label="Title" req=1], and the content
[textarea name="post_content" label="Content" req=1], which are placed with the corresponding shortcodes.
Shortcode Parameters and Form Validation
Most input elements share the same shortcode parameters, which are similar to the HTML input parameter equivalent, such as
class and more.
Other parameters like
label, which prepends the input with a label, and
req, which sets an input to be required. An input set to required receives the required markup, class and label cosmetic changes (if label is added via the parameter), and automatically get validated during form submission.
Mage Forms Usage for Website Types
Here are just a few types of websites that may benefit from this Front End User posting capabilities:
- Guest Post forms and Multi-Author Blogs.
- Online Business Directory with Listing/Address Submissions
- Product forms for Marketplace websites.
- User Profile and Event Forms on custom social networks.
- User-driven wiki / knowledge-base sites that enable users to add/edit content to topics.
Those are just a few ideas of what this Front-End Post Publish Form can be used for.
Plugin Download and Support Forums
You can install this plugin from the WordPress plugin repository either by searching
mage_forms from your New Plugin admin page in your WordPress site, or by downloading directly from Mage Forms on WordPress.
Feel free to submit feature-requests and bugs at its support forum on WordPress.