Shortcode in Unauthorized Message box

This topic contains 1 reply and 2 voices, and was last updated by Tareq Hasan 10 years ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
March 25, 2014 at 11:30 am 17253
Tareq Hasan I have a form where only registered users are able to submit posts. I have a question about the Unauthorized message (at post-settings ), is it possible to have a shortcode there? I know I can put in a link to the registration / login, but this is an extra step for the user. It would be so much user-friendly to have a shortcode there which displays the login / registration box. (Right now, they click to go to the page where they can submit a post. Arriving there, they have to click again to goto the login/registration, and after that, they have to return to te submit the post) In my opinion, this is one step to many ) (If I put in a shortcode now, it will just display the text of the shortode)
March 25, 2014 at 12:52 pm 17254
Tareq Hasan Tareq Hasan

Yeah, right now it doesn’t support shortcodes. On /class/render-form.php in line 259, change the line like this: echo do_shortcode( $form_settings['message_restrict'] );. It will have shortcode support.

Viewing 1 Posts - 1 through 1 (of 1 total)