Support » Plugin: Jetpack by WordPress.com » how to add jetpack_protect_num in custom login form?

  • Resolved Salvatore

    (@darkwolf)


    Hi!
    in my sideb ar i’ve a custom login form in php (by php code widget) and i glad, if is possible, to protect with jetpack_protect_num (present in wp-login.php page).

    any help or doc for this? 🙂

    thanks in advance,
    S.N.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Jetpack hooks the Protect elements to all default log in forms. As long as you create your custom log in form using a core WordPress function like wp_login_form(), Jetpack will add its own elements to the form.

    It’s worth noting that the math question will not always be displayed. That doesn’t mean Protect isn’t protecting the form, though; the math question is actually only displayed as a fallback, either when your site cannot communicate with our API or when you’ve already failed to log in properly once.

    I hope this clarifies things a bit!

    hi. after some time, ill try to test again this and… i cannot put wp_login_form cause recaptcha and some other little stuff (i need to recreate).
    cause of this, i still have this little issue with jetpack.
    is there any way to implement in a custom form?

    thanks in advance, again, for your help 🙂

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I’m afraid adding Protect to a custom, non-WordPress form is going to require a lot more work. Everything Protect does on the log in is hooked to core login actions, so I don’t think you’ll be able to use Protect on a completely custom form.

    Sorry not to be able to help you more.

    Ok, thank’u for patiente 🙂

    kind regards,
    S.N.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to add jetpack_protect_num in custom login form?’ is closed to new replies.