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: <span class=”post-time-date”> <!–?php date_default_timezone_set(‘America/Los_Angeles’); echo […]

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 »

Easily Style Your Placeholder Text

Placeholder text in inputs has (in the browsers implementing it so far) a light gray color. To style it, you’ll need vendor prefix CSS properties. ::-webkit-input-placeholder { color: red; } :-moz-placeholder { /* Firefox 18- */ color: red; } ::-moz-placeholder { /* Firefox 19+ */ color: red; } :-ms-input-placeholder { color: red; }   The ::placeholder selector

Easily Style Your Placeholder Text Read More »