[wps-forum-reply]

Note: This shortcode was previously [wps-forum-comment] which will still work, but has been renamed as it was mis-leading. This shortcode displays a textarea for a forum reply, not a comment (which is made to a reply if enabled).

Purpose

Displays a text area to add a reply to a forum topic. Only shown when viewing a single topic.

This shortcode displays the fields to reply to a forum post, and is normally added to a WordPress page below the [wps-forum] shortcode

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, you would enter the shortcode as:

[wps-forum-comment slug="my-forum"]

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.

Label for add reply button (label=”Add Reply”)
Optional CSS class for button (class=””)
Text above reply text area (content_label=””)
Don’t have permission to view topic message (private_msg=””)
Don’t have permission to reply message (no_permission_msg=”You do not have permission to reply on this forum.”)
Forum is locked message (locked_msg=”This forum is locked. New posts and replies are not allowed. “)
Enable reply moderation (moderate=”0″)
Moderation message (moderate_msg=”Your comment will appear once it has been moderated.”)
Show reply textarea by default (show=”1″)
Allow users to close posts (allow_close=”1″)
Label to close topic (close_msg=”Tick to close this post”)
Message that topic is closed (comments_closed_msg=”This post is closed.”)
Label to re-open topic (reopen_label=”Re-open this post”)
Allow private replies (allow_private=”0″)
Only allow one reply per user (allow_one=”0″)
Message that replied already (allow_one_msg=”You can only reply once on this forum.”)
Private reply label (private_reply_check_msg=”Only share reply with %s”)
Show in (which forum) label (show_in_label=”Show in:”)
Sidebar