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

Modifying the wordpress login page and then referencing it with a shortcode problem

wp_login_form is completely separate from wp-login.php – the login_form hook only applies to the latter.

For the former, you’ve got three filters at your disposal:

  1. login_form_top – return HTML to be injected right after the opening <form /> tag
  2. login_form_middle – return HTML to be injected between the password field and the remember me/submit field
  3. login_form_bottom – return HTML to be injected right before the closing </form>

Related Posts:

  1. Custom form, shortcode, and submit handler
  2. Using action hooks inside of a shortcode
  3. manipulate a plugins shortcode
  4. Simple contact form with field validation
  5. Remove and restore one shortcode
  6. Raw output (preventing wpautop)
  7. other shortcodes in Contact form 7 MAILS [closed]
  8. Enclosing Shortcode Within Another Enclosing Shortcode Breaks Output Functionality
  9. How to add and submit input fields using a shortcode?
  10. Convert HTML Script to Shortcode [closed]
  11. Login form from shortcode doesn’t redirect after successful login
  12. Form Shortcode not saving data to WP database
  13. Getting error on submitting form using Ajax with shortcode
  14. Adding custom form within add_shortcode
  15. How can I collect and output all attributes of all executed ShortCodes?
  16. Use another action instead of the shortcode API to display the last time a user logged in
  17. Form processing: How to process form before output and access data from shortcode
  18. Processing a login/register form before shortcodes are rendered?
  19. How to create a custom shortcode for custom login form?
  20. contact form 7 :create shortcode usable in email message [closed]
  21. Create shortcode for each form field in contact form 7
  22. Set redirect for need login
  23. How can I use a plugin shortcode inside of a html form?
  24. i want to show a modal when user lands on home page very first time
  25. Redirect per shortcode if user is logged in
  26. Send Mail with link to current_user
  27. Contact form code not working. Need help!
  28. How to display a page dependent on a url parameter supplied by a form/button page?
  29. Custom Login in Shortcode got error
  30. Which method to use when deleting posts from the front-end
  31. WordPress shortcode select option not working [closed]
  32. Hook into existing shortcodes to manipulate the attributes?
  33. Is there a hook that runs after a user logs in?
  34. WordPress plugin shortcode not working
  35. How do I create a Shortcode that returns text if domain is .com, not .co.uk
  36. Remove specific shortcode from get_the_content()
  37. How to Output HTML tags in do_shortcode?
  38. Nested Shortcode Detection
  39. How to display html in a shortcode
  40. Automatically add this attribute to the gallery shortcode
  41. Videos via the video shortcode are always 640px wide?
  42. Get returned variable from a function to add_shortcode function
  43. shortcode not working [closed]
  44. Do not show child pages of child pages
  45. Plugin form unable to process
  46. How to: How do I make my own shortcodes without plugins?
  47. Adding span tags within wp_list_pages list items
  48. How to make shortcode output display where I choose
  49. Add Shortcode to a Div or Header [closed]
  50. change wordpress gallery shortcode to slider
  51. How to change the page break numbering?
  52. Allow shortcode in the author bio textarea
  53. WordPress display image link in shortcode
  54. How do I combine my shortcodes?
  55. Bulk converting shortcodes to blocks with embeds
  56. How to add source code into wordpress post really?
  57. Make shortcode’s Bootstrap CSS override the theme’s CSS, how?
  58. Enumeration Contact form using database table’s numbe of rows [closed]
  59. Change the default video shortcode
  60. How to add AJAX in a custom PHP function using Google sheets API
  61. WordPress TinyMCE : Get value of popup button
  62. wp_editor in thickbox
  63. Add JS in footer via shortcode?
  64. How do I hook my function to run only after submitting login form
  65. How to add a same div on every page
  66. WordPress Shortcode / Only works in classic editor, gutenberg error / invalid json response
  67. Display a form partially with a shortcode
  68. Do shortcode in template file
  69. Ordering get_terms with ACF not displaying all terms
  70. Unique ID for WordPress shortcodes when used more than once on a page?
  71. Which wordpress function is the caption shortcode linked to?
  72. Content between shortcodes
  73. Shortcode strips formatting and returns at content top
  74. do_shortcode within a shortcode
  75. tiny_mce_before_init preventing custom shortcode icon appearing
  76. Removing “There is no account with that username or email address.” error message in “/wp-login.php?action=lostpassword”
  77. Using Shorcodes in Sharing Preview and Notifications Title from Post Title
  78. Is the WP audio shortcode still relevant?
  79. If statement shortcode
  80. Shortcode not working when I output data from wpdb html table row
  81. Updating user meta data from external link, user not logged in
  82. update_metadata() appends shortcode data for every page refresh
  83. Gallery shortcode is empty but magically creates a gallery
  84. wp_signon works localhost but not wokrs https site
  85. How to avoid one code multiple times instead do that through some function? Shortcode, but I think shortcode is not used in main theme’s core files?
  86. Shortcode appeared twice on page, one time before content, one time where it’s really called
  87. Get current category and place it in shortcode
  88. $_POST empty in using new php file added to theme
  89. Is there a function to search for a wildcard value when calling a shortcode?
  90. Inserting a variable into a shortcode inside php
  91. Using shortcodes that wrap around code
  92. Shortcode for Admin Theme Option?
  93. What makes a placeholder resizable in Tinymce?
  94. Multi-part form and wp_redirect()
  95. How to scroll to a shortcode-generated anchor
  96. add post type pram to wp shortcode
  97. How to use multiple values in “Shortcode”? [closed]
  98. php codes ruins shortcode structure
  99. wp:shortcode works in block theme template file but not PHP include file
  100. Which PlugIns have a [subpages] shortcode? [closed]
Categories shortcode Tags forms, hooks, login, shortcode
How I can made a custom post type to page templates?
Custom post types sorting admin columns nothing found

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