• Resolved alptkz

    (@alptkz)


    Hello.

    Somehow any shortcode I put in the Protected content message does not work. It only displays the shortcode as is.

    For example I tried to put the shortcode [bus_login] but it just shows “[bus_login]” on the page. Take a look for yourself.

    When I put that shortcode directly in pages, it works just fine. I’ve also tried to add “bus_login” in the admin only shortcodes field just in case, but still doesn’t work.

    Thanks for your help.

    https://wordpress.org/plugins/membership/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @alptkz,

    Thanks for posting on the forum.

    I could reproduce the issue on my test site using latest version of Membership plugin therefore i have notified the plugin developer to fix it.

    In the meanwhile to fix this try changing the following Membership plugin file on line number 773 as shown below.

    Membership plugin file:
    \membership\membershipincludes\classes\membershippublic.php

    Before Editing:

    return stripslashes($M_options['shortcodemessage']);

    After Editing:

    return stripslashes( do_shortcode($M_options['shortcodemessage']));

    Note: You are making changes in the plugin file and these changes will be overwritten and lost when you update the plugin and you will have to make these again after plugin updation.

    Best Regards,
    WPMU DEV

    Hi, are there any updates to this issue? I’m experiencing it as well. Thanks!

    Hey there centbanc,

    Did you try editing the code mentioned in our last response here?

    Let us know if that helps.

    Take care.

    Padaben

    (@padaben)

    HI, did the fix, but doesn’t fix !!
    any other idea ?
    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Protected content message and shortcodes’ is closed to new replies.