• Resolved RolandOfEld

    (@rolandofeld)


    hi there

    i would like to be able to add text to my shortcode for social login:

    for example [LoginRadius_Login style=”text-align:center”] with text that says : connect to sitename.com below!

    i realise i can type in text normally in a post/page before the short code which would work also, but i have a piece of code that hides shortcodes if the user is already logged in.

    Hence it would look funny to have the ‘connect to sitename.com below!
    ‘ text without any social login buttons on the page

    hope this makes sense
    thanks!

    https://wordpress.org/plugins/loginradius-for-wordpress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author loginradius

    (@loginradius)

    Hi RolandOfEld,

    Please follow the steps mentioned below to specify text above the Social Login interface:
    1. Open “wp-content/plugins/loginradius-for-wordpress/LoginRadius-function.php” in your favorite code editor.
    2. Search following code:
    $return .= login_radius_get_interface( true );

    3. Place following code above the code searched in the previous step:
    $return .= ‘<div>TEXT</div>’;
    Replace the TEXT in the above code with required text.

    4. Save the file back. Replace existing file, if prompted.

    Hope this helps!

    Thread Starter RolandOfEld

    (@rolandofeld)

    worked a treat, thank you once again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘text for shortcodes’ is closed to new replies.