Category: WordPress

  • Home
  • Category: WordPress
Phone number Field Mask | Billing phone number field mask | WooCommerce phone number field mask

Phone number Field Mask | Billing phone number field mask | WooCommerce phone number field mask

The billing phone number field on the WooCommerce checkout page is sometimes hard to read. So we can format it by adding 2 dashes (-) for readability, it’s called masking. The code below shows it. We can also mask the shipping field using the same method.  

Read More
How To Change Place Order Text In WooCommerce Checkout – Change “Place order” button text in WooCommerce Checkout

How To Change Place Order Text In WooCommerce Checkout – Change “Place order” button text in WooCommerce Checkout

Follow the full instruction for WooCommerce. In many cases, we need to change different texts in WooCommerce. Especially different titles, add-to-cart buttons, and place order buttons. Previous Next Today, we will know how to change the text of the place-order button on the checkout page according to the payment method selected. For this, we need

Read More
Box-shadow – CSS Tricks – HTML CSS Border – multi border by box shadow

Box-shadow – CSS Tricks – HTML CSS Border – multi border by box shadow

Sometimes we have to add multiple borders. We use multiple HTML tags or before/after CSS pseudo-elements in this case. But now we are going to show something special. 1: First, we have to take an HTML tag. 2: Now we have to add CSS. 2.1: (width: 200px) this is the element width. 2.2: (aspect-ratio: 1

Read More
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
1 2