Chat with us, powered by LiveChat

    Looking For Something?

[wps-forum-post]

Purpose

Displays a textarea for adding a forum topic.

This shortcode will show the “add new post” form, allowing user’s to add a topic to your forum.

Availability

Provided in the Core 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

If you have a forum with a slug of my-forum, and you want the form to show when the page is loaded, you would enter the shortcode as:

[wps-forum-post slug="my-forum" show="1"]

Or

[wps-forum-post label="Add new question"]

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.

Post title text (title_label=”Post title”)
Topic content text (content_label=”Post”)
Add topic button label (label=”Add Topic”)
Optional CSS class for button (class=””)
Enable moderation (moderate=”0″)
Awaiting moderation message (moderate_msg=”Your post will appear once it has been moderated.”)
Permission denied message (private_msg=””)
Set post title as multiline (multiline=”0″)
Show new topic form (show=”0″)
Allow forum choice
Forum choice label (post_to_label=”Post to”)
Sidebar