Addition of Short Code in Login Page

Home Forums Legacy Support Support queries Other issues Addition of Short Code in Login Page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2360
    House Skill
    Spectator
    Hi I have tried adding this shortcode in wplms-customizer/wplms-customizer.php, But its not calling this shortcode atall. Kindly help me in adding of this shortcode [TheChamp-Login] down the login page. add_action('bp_after_sidebar_login_form','show_social_login'); function show_social_login() { do_shortcode('[TheChamp-Login]'); }
    #2622
    Anshuman Sahu
    Keymaster
    Try using this code : add_action('bp_after_sidebar_login_form','show_social_login');
    function show_social_login()
    {
    echo do_shortcode('[TheChamp-Login]');
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Addition of Short Code in Login Page’ is closed to new replies.