WordPress
April 30, 2020

WordPress Login, Register, Change Password And Forgot Password Without Plugin

Are you need simple Login, Register, Change Password, Forgot Password form without plugin for your WordPress website? Yes, Then i have created shortcodes for all forms with simple code. So you can get any form anywhere like in Pages, Posts and Widget etc… Therefore you just need to put shortcodes where you need form. So you need to follow below steps. You need to put below code in theme’s functions.php file. If you have created child theme then add this in function file of child theme.

Note: If action code will not work then change action wp to init.

Login Form | Shortcode: [wc_login_form]

Register Form | Shortcode: [wc_register_form]

Change Password Form | Shortcode: [wc_change_pwd_form]

Forgot Password Form | Shortcode: [wc_forgot_pwd_form]

Related Post


Upload Video or Image in WordPress Media Library

When we use custom form with file upload and we want to upload Video or Image in wordpress media library use following code.

How to Create Custom Elements Using Visual Composer API

When we are making site with visual composer some time not possible to built some designs using visual composer elements. So at that time we need to use HTML element for built designs. But visual composer API provide facility to built own custom element for some special requirements and its very easy. We can built […]

How to Create Custom Post Type in WordPress

Custom post types are same like posts and pages. By default WordPress comes with a few different post types which are all stored in the database under the wp_posts table. Default Post Types Posts Pages Attachments Revisions Navigation Menus Custom CSS Changesets We can create your own custom post types and call them whatever we […]

How to Load More Post With Ajax in WordPress

Create a load more button to show additional posts or custom post types using AJAX following code in your current theme. 1. Set load more button in your post loop and pass paged parameter in post argument. Load More This will display two post per page. 2. Then you have to add the following code […]

Enable SVG Support in WordPress

For Enable svg support you’ll need to add the following code to your current themes functions.php file.

Change Comment Form Title “Leave a comment” WordPress

comment_form_defaults filter allow to change comment form title “Leave a comment” to other custom text, filter comment_form_defaults help you to change it. Code goes in function.php file of your active child theme (or active theme).


2 Comments

  1. jai chand
    May 16, 2021

    I using you code in localhost. But Not showing anything in front-end if i use you code in functions.php and add short code in template. I have also used init instead wp but nothing showing anything. I also checked any one can register from admin but no any response. Is there any problem in this code

  2. July 6, 2021

    How you added shortcodes in templates file? Hard coded shortcode will work. You have to write do_shortcode('[wc_login_form]'); on template file.

Leave a Reply

Your email address will not be published. Required fields are marked *