oa_social_login_test is not working

edited July 2015 in WordPress
I have set up everything and am trying to utilize the "Conditionally Display Content" shortcode as explained the documentation. However, it is not working - nothing is being displayed when using the oa_social_login_test shortcodes.

Here is what I'm doing:

[oa_social_login_test is_social_login_user="true"]

A PDF File

[/oa_social_login_test]
[oa_social_login_test is_social_login_user="false"]

Please login to view our Members Only content.

[/oa_social_login_test]

Answers

  • Hi,

    The shortcodes need to be inserted in the Text view of your post, and not in the Visual view.

    Hope this helps.
  • Thanks for the reply, but I tried both visual and text. It still didn't work.
  • Hi,

    Right, there is an error in our code.
    We already planned to release a new version shortly (with added features), so the correction will be included.
    Meanwhile, you can fix it in your installation, if you wish:
    In file wp-content/plugins/oa-social-login/includes/user_interface.php,
    at line 463, replace elseif ($attr ['is_social_login_user'] == 'false') with elseif ($args ['is_social_login_user'] == 'false').
    Thanks for your input!

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.