WordPress.org

Forums

Theme My Login
Theme version of plugin (2 posts)

  1. trinzia
    Member
    Posted 2 years ago #

    Hi Jfarthing,
    Your personal website appears to be down today. Somethingz bad happened to it.

    My question:
    I would like to know if there's a theme version of your plugin. For example, if I want to edit a bunch of the form elements, then I don't want a client to overwrite my edits whenever there's an update, by pushing the Update button.

    Some plugins have version to include directly in the theme. Do you have or would you consider adding this? Or can I move the forms into the theme?

    Thanks!

    http://wordpress.org/extend/plugins/theme-my-login/

  2. trinzia
    Member
    Posted 2 years ago #

    Ah I'm an idiot, I just found the comment code where you say the templates can just be copied to theme.

    But specifically I want control of the placement of the error messages, for reasons of accessibility.

    I want to place each error message immediately below the form element which failed. This allows a blind user who's using the arrow-down key to catch the error message before proceeding.

    Also, I want, in the case that the page must reload, such as failed login, to set focus to the error message:

    <div class="error">
        <a href="#" class="assistive-text foci">Error</a>
    	Your login failed. Please try again.
        </div>
    	<script>
    	jQuery(document).ready(function($) {
    		 $('#main').find('.foci').focus();
    	});
    	</script>
    
    I could probably fix most of  it with a form validation script?
    And if I delete 'template->the_errors();' from each page?

    But it would appear that the entire page reloads when there's an error? Is it so? This would make a blind user unhappy, especially if a client stuck the login in the wrong place on the sidebar (bottom).

    Which brings me back to the beginning, which is, can I just include the whole thing in my theme, so that I can disable that widget and write the login form directly into the theme? Making it a widget makes it possible for the admin to do something stupid like put it at the bottom.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic