WordPress
April 30, 2020

WordPress Change Password Form Without Plugin

Are you need simple Change Password form without plugin for your WordPress website? Yes, Then i have created [wc_change_pwd_form] shortcode with quick simple code. So you can put Change Password form anywhere like in Pages, Posts and Widget etc… Therefore you just need to put [wc_change_pwd_form] shortcode where you need Change Password form. So you need to follow below steps.

Code for shortcode.

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.

Code for Change Password

In this code i am validating form and Change Password in WordPress on wp action. Add it in functions.php file after above code. If this code will not work then change action wp to init.

Related Post


Get product details from $product object WooCommerce

I am publish this article for get values from WooCommerce $product object. You can get all information of product from $product object. When we have $product object. Get $product object by $product_id. Get $order object by $order_id. Get products from $cart object.

Redirect to Checkout after add to cart WooCommerce

Redirecting the user to the checkout page when they’ve added a product to their cart. This may come in handy if you only sell one product / one product per time. The filter woocommerce_add_to_cart_redirect makes it easy to redirect user to custom page. Code goes in function.php file of your active child theme (or active […]

WordPress Register Form Without Plugin

Are you need simple register form without plugin for your WordPress website? Yes, Then i have created [wc_register_form] shortcode with quick simple code. So you can add register form anywhere like in Pages, Posts and Widget etc… Therefore you just need to put [wc_register_form] shortcode where you need register form. So you need to follow […]

How to Remove Website URL Field from WordPress Comment Form

Use Following Code in your current themes functions.php file it removed website url field from comment form.

Adding Custom Meta Fields to Taxonomies in WordPress

For add Custom Meta Field in taxonomy use following code in your current themes functions.php file.

How to create custom widgets in wordpress

Include the following code file to your current themes functions.php file Here is the code for sidebar register.


Leave a Reply

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