• Resolved tanmccuin

    (@tanmccuin)


    I’m attempting to setup user access to a BBPress Forum via MemberFindMe & the Login Connector – because BBpress uses templates for handling it’s paths, i can’t add the plugin shortcode via the_content, but rather will need to utilize it in the template via do_shortcode, however this isn’t working. Can you address why this would be and let me know if there’s a work around?

    https://www.ads-software.com/plugins/memberfindme-login-connector/

Viewing 1 replies (of 1 total)
  • Plugin Author MembershipWorks

    (@sourcefound)

    Hi tanmccuin! We apologize for completely missing this post, we did not receive an email notification from WordPress.

    For the record, as a workaround you can call the function like this:

    $response=sf_memberonly(‘[memberonly]’);

    if $response is an empty string then the member is signed in, current and has the relevant permissions. Otherwise $response will contain either the relevant message or sign-in box (in HTML).

Viewing 1 replies (of 1 total)
  • The topic ‘shortcode in template not working?’ is closed to new replies.