Skip to content

Commit

Permalink
Add a link to the login recovery page
Browse files Browse the repository at this point in the history
  • Loading branch information
rousnay committed Oct 9, 2017
1 parent 2c9460d commit 9fa5adc
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions wp-content/themes/twentyfourteen-isb/footer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?php
/**
* The template for displaying the footer
*
* Contains footer content and the closing of the #main and #page div elements.
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
?>

</div><!-- #main -->

<footer id="colophon" class="site-footer" role="contentinfo">

<?php get_sidebar( 'footer' ); ?>

<div class="site-info">
<?php do_action( 'twentyfourteen_credits' ); ?>
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfourteen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyfourteen' ), 'WordPress' ); ?></a>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->

<?php wp_footer(); ?>

<script type="text/javascript">
;(function(){
var getWid = document.getElementById('loginform');
var forgetPass = document.createElement("span");
forgetPass.innerHTML = '<a href="/wp-login.php?action=lostpassword">Forgot password?</a>';
getWid.appendChild(forgetPass);
}());
</script>
</body>
</html>

0 comments on commit 9fa5adc

Please sign in to comment.