Support » Plugin: Clef Two-Factor Authentication » shortcode for custom login page

Viewing 3 replies - 1 through 3 (of 3 total)
  • i’ve also used these 2 codes.
    in my custom login page ( page-user-login.php ).
    but they didn’t work for me.

    1 –
    <?php do_shortcode('clef_render_login_button'); ?>

    2 –
    <?php do_shortcode('[clef_render_login_button]'); ?>
    ———-
    Update : It will work if i use the shortcode in a widget!
    and i can see the login button.
    but it’s not appearing in my login form when i use the shortcode.

    thanks .

    • This reply was modified 1 year, 7 months ago by  Masoud.

    Hi Masoud,
    <?php echo do_shortcode('[clef_render_login_button]'); ?>

    • This reply was modified 1 year, 7 months ago by  stremblaym.

    hi @stremblaym .
    thank you for the answer. but it’s not working.
    they did include nothing about this, in their documentation.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘shortcode for custom login page’ is closed to new replies.