Redirect User Directly to Checkout Page After Adding Product to Cart in Woocommerce

| Last Updated: | In: Code Snippets


In this tutorial, I will explain how to redirect user directly to checkout page after adding product to cart in WooCommerce. This is very simple & easy code snippets to extends the features of your WooCommerce based online store. How to redirect user directly to checkout page after adding product to cart in Woocommerce? Copy …

Add Confirm Password Field on The Register Form Under My Accounts

| Last Updated: | In: Code Snippets


If you want to add confirm field password field on the registration form under my account page, then this tutorial is specially designed for you. Please keep your close attention in this post and use the below code snippets. Add confirm password field on the register form under My Accounts Add the below code at …

Use Safely Redirect URLs in WordPress

| Last Updated: | In: WordPress Snippets


In this tutorial, I will explain how to use safely redirect URLs in WordPress. The wp_safe_redirect() function does not exit automatically, if you are using this function in your code, then you should always used the exit(). See the below example: Use Safely Redirect URLs in WordPress You can use the below code in your …

How to Remove Width and Height Attributes From Images in WordPress

| Last Updated: | In: Code Snippets, WordPress Snippets


In this tutorial, I will explain how to remove width and height attributes from inserted images in WordPress posts and pages. The images uploaded through the WordPress media uploader and inserted in your posts or pages it automatically added the width and height attributes in your image. How to Remove Width and Height Attributes From …

How to Disable Search Feature in WordPress

| Last Updated: | In: WordPress Snippets


Are you developing a WordPress website in which you don’t want to have the search features or don’t want to allow your website visitor’s to search anything on your website, then this tutorial is designed for you, keep your close attention in this post as I am going to share how to disable search features …

Change the Default Gravatar in WordPress

| Last Updated: | In: WordPress Snippets


By default, WordPress comes with some basic default user avatar is named “Mystery Person”. In this tutorial, I will explain how to change the default gravatar in WordPress. If you want to add your brand to default user gravatar for the newly registered user in your website, then keep your close your attention in this …

How to Creating database Tables with Plugins in WordPress

| Last Updated: | In: WordPress Beginners, WordPress Snippets


If you want to create your own database tables while installing your custom WordPress plugin on WordPress websites. In this tutorial, I will explain how to creating database tables with plugins in WordPress. This tutorial will help you while you are developing your custom plugins. To create database tables with your plugins, you need to …

How to Add Custom Dashboard Logo in WordPress

| Last Updated: | In: WordPress, WordPress Plugin Reviews, WordPress Snippets


In this tutorial, I will explain how to add custom dashboard logo in WordPress to build your own brand. There are two options to change the default WordPress logo to your custom logo for the branding purpose. The first option is change logo using WordPress plugin White Label CMS. This plugin provides an option to …

How to Remove Admin Bar For Subscribers

| Last Updated: | In: WordPress Snippets


Sometimes we want to remove the admin tool from front-end websites based on the user role and permission on your site. In this post, I have explained the simple and easy codes to remove admin toolbar on the user role basis. Show admin bar only for administrator Use the below code at the end of …

Add Submenu Page to The Tools Main Menu

| Last Updated: | In: WordPress Snippets


This is a very short tutorial about sharing the WordPress snippets which helps you while developing a custom WordPress plugin. In this tutorial, I have shared a how to add sub menu under the tool menu bar in WordPress Admin panel. Use the add_management_page() function in your plugin file to add menu inside the Tool …