PHP

How to Swap the Position of the Billing with Shipping

There was once a client requested to swap the position of the billing with shipping details, because by default WooCommerce displays the Billing info first. But, the client cares more about the shipping address because that is the most important information he needs for him to ship the products. The first method that comes out …

How to Swap the Position of the Billing with Shipping Read More »

Logged in and Logged out Body Classes

Today I wound up needing a logged-out body class on a WordPress site I’m building. Any individual who has ever coded a WordPress sites has probably included the body_class() capacity to their websites and it would look something like the following:

Well, the body_class() function permits you to effectively include classes specifically into the …

Logged in and Logged out Body Classes Read More »

Timezone

Setting the Default Timezone for PHP In WordPress

If you want to Display a post in different timezone the you should workout some php function in grab it. It necessary when you show a online event or online live video. if you want to show the event or a post in local time you should follow bellow steps:

Here ‘America/Los_Angeles’ Los Angeles …

Setting the Default Timezone for PHP In WordPress Read More »

How to Replace “Choose an option” with Attribute name in variation select menu in WooCommerce

In woocommerce, the product attributes used for variations will display as a select menu in product page. For example, if I had created an attribute named ‘Size’ and used it for variation, then a ‘Size’ select menu will appear in the product page containing attribute values (or configured terms) as options for a customer to …

How to Replace “Choose an option” with Attribute name in variation select menu in WooCommerce Read More »