• Resolved buga9

    (@buga9)


    hi there,
    thanks for great plugin, but i’m having some troubles with it:

    – how can i add a form name to the login form?
    – logout doesn′t work some times.

    thank in advance for your help. cheers.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    The “name” attribute is not used in the plugin’s forms. This attribute was deprecated for HTML4 and although it is available in HTML5, it is not widely used. All of the forms do have an ID and class attribute.

    The logout function uses WP’s logout scripts. If there are issues logging out, you may want to look to see if you have an overly aggressive cache or something that would prevent a redirect (as the user must be redirected during the logout process to reload the page after the auth cookies are deleted).

    Thread Starter buga9

    (@buga9)

    ok thank you.

    Thread Starter buga9

    (@buga9)

    so how can i set auto focus on username field?

    Plugin Author Chad Butler

    (@cbutlerjr)

    I would use JavaScript’s getElementById() (where “element” is the form field’s ID):

    document.getElementById('element').focus();

    Thread Starter buga9

    (@buga9)

    thank you chad, you helped a lot. cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘login form name and problems with logout’ is closed to new replies.