Definition:
function login_footer($input_id = '') {}
Outputs the footer for the login page.
Parameters
- string $input_id: Which input to auto-focus
Defined actions
- login_footer
do_action('login_footer');
Source code
function login_footer($input_id = '') {
?>
<p id="backtoblog"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php esc_attr_e( 'Are you lost?' ); ?>"><?php printf( __( '← Back to %s' ), get_bloginfo( 'title', 'display' ) ); ?></a></p>
</div>
<?php if ( !empty($input_id) ) : ?>
<script type="text/javascript">
try{document.getElementById('<?php echo $input_id; ?>').focus();}catch(e){}
if(typeof wpOnload=='function')wpOnload();
</script>
<?php endif; ?>
<?php do_action('login_footer'); ?>
<div class="clear"></div>
</body>
</html>
<?php
}
9979

February 24, 2011 


No comments yet... Be the first to leave a reply!