Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

How can I theme or style the lost password page without a plugin?

The googles came up with this page: https://code.tutsplus.com/tutorials/build-a-custom-wordpress-user-flow-part-3-password-reset–cms-23811

Basically, you create a function that does the work of the lost password page. Then you call it with this:

add_action( 'login_form_lostpassword', 'my_lost_password_page' ) );
function my_lost_password_page() {
   // code to do the lost password stuff
return;

You would place the above in your Child Theme’s functions.php file.

You might be interested in the other parts of that tutorial, which discusses styling the login pages. Note that the tutorial uses a custom plugin to do all of the work, which is easiest, although you could do the same thing with code in your functions.php file. But the link might give you a starting point.

There are other links that might be useful, including the Codex: https://codex.wordpress.org/Customizing_the_Login_Form ; use that as a starting point for your efforts.

Related Posts:

  1. Specific theme for non logged in users
  2. Change avatar on themed profile page
  3. When someone likes an article on my blog, they are prompted to log in on WordPress.com [closed]
  4. Missing privacy policy checkbox on login page (using Enfold theme)
  5. Default and warning messages & no login
  6. Password Protected Page + Showing Different Page If Not Authenticated/Authorized
  7. How to change background color in the Notepad++ text editor?
  8. How to change or add theme to Android Studio?
  9. WordPress frameworks and parent themes [closed]
  10. Opinions and recommendations on the best barebones base theme [closed]
  11. Remove JSON API links in header html
  12. Using OOP in themes
  13. Where can I download WordPress themes from? [closed]
  14. How can I allow the Editor Role to change Theme Settings?
  15. What are all the available parameters for query_posts?
  16. Customizing a WordPress theme without changing it?
  17. Where can I learn to create my own theme?
  18. How do I turn off self-closing tags for markup in WordPress (for HTML5, or HTML4, for example)?
  19. how to add version of style.css in wordpress
  20. Does WordPress work without a theme?
  21. What is the role and history of the $content_width global variable?
  22. Adding admin-ajax.php to the frontend. Good or bad idea?
  23. How to move the sidebar in TwentyFifteen to the right?
  24. How to Link External jQuery/Javascript files with WordPress
  25. Installation failed: Download failed. No working transports found
  26. What is theme-compat?
  27. Override parent theme translation on child theme
  28. WordPress Theme activation hook?
  29. Can wordpress theme folder name be changed freely and nothing technically happens
  30. Link to specific Customizer section
  31. Check for correct username on custom login form
  32. What does exactly GPL license mean for my WordPress theme?
  33. Am I allowed to license my WordPress theme under the aGPL
  34. How do I change the header image height in Twenty Seventeen?
  35. Starter Theme vs Parent Theme? Pros and cons
  36. How to change the language for the front-end only?
  37. W3 Total Cache, CDN and theme files [closed]
  38. Best way to include Bootstrap in WordPress
  39. How to set thumbnail image for a (child) theme
  40. Different template of products for specific category. WooCommerce
  41. Show different theme for admin?
  42. How do I require authorization / login to view a specific set of posts / pages?
  43. How can I version the main CSS file?
  44. what the best way to include images from the template’s images folder?
  45. Is it OK to remove theme credits from footer? [duplicate]
  46. Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067
  47. How to protect pages with double authentication: password + email (in custom field)
  48. How can I get the title attribute from get_the_post_thumbnail()?
  49. Dash or underscore in theme folder name?
  50. No “Add New” Button. How to add new theme?
  51. Replacing the WordPress password validation
  52. How do I add support to my theme for custom menus?
  53. “Unexpected error” on update requests
  54. How to prevent plugin, theme installation failures on WordPress?
  55. How do I white label my self-hosted site created by wordpress?
  56. Do Child-Themes automatically load the Translation from the Parent-Theme?
  57. When cropping a header image, retain meta data (i.e. name, description, etc.) from original image?
  58. Best practices for a Style/CSS based theme options page?
  59. How to create a new theme from scratch?
  60. Categorising themes by folders in backend
  61. Switching themes without losing widgets?
  62. How to use media upload on theme option page?
  63. Dynamic template serving, change theme_root using add_filter from current theme
  64. What theme is good for posting code? [closed]
  65. WordPress 5 / Gutenberg – theme doesn’t have featured image option showing up
  66. Custom Taxonomy-specific JavaScript
  67. How to refresh WordPress Customizer panel upon entering a value
  68. Set Featured Image for Archive templates
  69. is_front_page only works in theme file, and does not work in functions.php
  70. What is meant by __(‘page’,’twentytwelve’)
  71. How do I add a new string to a .po or .pot file?
  72. Adding Language Support using .pot and .mo files to a WordPress Theme?
  73. Difference between stylesheet_directory and template_directory
  74. Free/Open-Source Theme Frameworks as an Alternate to Thesis? [closed]
  75. can require “themefolder/includes/widgets.php” in “themefolder/functions.php” yet widgets.php doesn’t run
  76. Editing ‘Password Reset’ E-mail
  77. Using Multiple Themes in a Single WordPress Site?
  78. Adding a Template to the Page Attributes Panel for both Posts and Pages?
  79. How to override the “inc” folder (or any folder) in a theme using child theme?
  80. How to license my commercial WordPress theme? [closed]
  81. How to Use WordPress as Static CMS Without Blog Posts
  82. Any official way to create an admin theme?
  83. Pre-populating the Page/Post Content Editor with HTML Snippets?
  84. How do I create my own admin button and theme settings page?
  85. Is it possible to access Gutenbergs reusable blocks in CPT block templates?
  86. How do you change the theme location?
  87. Splitting an Evolving Site into Multiple Sites, or Maintaining as One Site?
  88. Two instances of WordPress with different URLs and themes
  89. Is “Featured Content” in Twenty Fourteen done with a plugin, or is it native in WP4.0?
  90. Looking for a way to load a function after customizer preview refresh complete
  91. Multiple image logo for theme
  92. How to see files in directories in “Edit Themes” screen
  93. How can I use WordPress as a job board ? (but free)
  94. Editing Links in the Footer of WordPress Themes with Base64 Encrypted Code?
  95. Add a page outside of the current theme?
  96. How to create a live demo page for a theme? [closed]
  97. How to set two different themes on one WordPress? (Desktop vs. Mobile)
  98. How can I add a set featured image function to a theme that doesn’t already have it built in?
  99. Password change when the user login first time
  100. Moving WordPress.com theme and widget settings to self-hosted site?
Categories themes Tags login, password, themes
Need to remove a piece of copy that appears to be in a sidebar but doesn’t show up
Login issues on WordPress Multisite and domain mapping

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress