Our Blog

How to get current year shortcode on WordPress – JavaScript

How to get current year shortcode on WordPress – JavaScript

This is very important to show the current year on the footer for copyright purposes. But sometimes we can’t do it because of the theme rules. Some WordPress themes have the permission to show the dynamic display of the current year on the footer only. If we edit the footer by using Elementor or we

Read More
Click to copy content by javascript

Click to copy content by javascript

Sometimes we need to add a function to copy content automatically. Suppose you want to copy a big content or code by clicking a “Click to copy” or something like this indicator. Here is the solution. Please follow the steps as shown below. Step 01: link this by pasting in the HTML tag. Step 02:

Read More
Empty cart before add to cart in WooCommerce

Empty cart before add to cart in WooCommerce

This function will reset/empty the cart and will add the last product to the cart. This is a WooCommerce PHP function that over wright the WC cart function. We can use this function for individual product selling websites or for a subscription website. Add the following code in the function.php file of your active child

Read More
How to create MySQL Database | How to create MySQL user | How to add MySQL user to database

How to create MySQL Database | How to create MySQL user | How to add MySQL user to database

How to create MySQL Database To create a new Database into cPanel need to sign in to cPanel and find the “DATABASES” section for creating MySQL Database. Click on the “MySQL Databases” for the next step. Write the Database name on the field like the attachment below and click on “Create Database” button. The database

Read More
How to create subdomain – how to create subdomain in cpanel – how to create a sub domain – how to add subdomain

How to create subdomain – how to create subdomain in cpanel – how to create a sub domain – how to add subdomain

How to create subdomain. Login to your cPanel and find the “Domains” section. You will see an option called “Add Subdomain” or something like this. Simply click on that, and now you will see 3 fields. You have to write your subdomain name there, and you need to select the main domain, which is the

Read More
1 2 3