• Hello!

    Awesome plugin, I love it. I have a request though. I can add HTML to the global custom error message, but if I try to add it to the custom error message on a per page basis the HTML shows up as text. Is there anyway to do this? I’d like to wrap the message in a class so I can apply some styles to it.

    https://www.ads-software.com/extend/plugins/members/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I found the same. Any fix for this bug in an otherwise fantastic plug-in.

    You can turn html back on by editing includes/content-permissions.php

    Line 110 return apply_filters( ‘members_post_error_message’, $return );

    apply_filters is converting your html code to special characters.

    Change line 110 to return htmlspecialchars_decode($return);

    and it will output text wrapped in html or process shortcodes.

    Will it output shortcodes as well?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Members] HTML in Custom Error Message (per page)’ is closed to new replies.