I noticed while testing my own blog that the Recent Comments widget in the footer of this site has a nofollow attribute for all the authors’ links. It makes sense to have this, but at the same time I didn’t want the nofollow on my own comments.

Here is how I removed it.

Read more

Let’s say that you have a website with a shop on WooCommerce.

You only allow customers to place orders on the site without taking payments because you handle them separately in your accounting software, or maybe via phone or in another way.

You will have the need to disable all payment gateways on the site, but just disabling them in WooCommerce > Settings > Payments will not work because then the customers will get an error message since there are no payment methods available.

What you need is a snippet of code that marks all order not in need of payment.

Add this code to your functions.php file in wp-content/themes/your-child-theme-name/:

Each country has a different address format, for example, U.S. uses the abbreviated state name, while Australia usually shows the full state name.

These are not rules set in stone though and they can always be changed. How ? Via custom code of course!

Read more

Do you use Enfold on your WordPress site? It’s a good WordPress theme, old one, but still one of the best sellers on ThemeForest.

I recently moved to it for my blog as well, but I really can’t stand that I cannot easily disable features that I do not need, like the Portfolio post type.

The developers provided a way to disable it via code though.

Read more

Adding an Empty Cart button to your store might look like a bad idea. Why would you want to make easier for your customers to empty the cart with one click? You don’t want them to leave without buying!

Do you know what is even worse than that? Having a grumpy customer. If the customer doesn’t want to buy it’s not a missing Empty Cart button that will make the difference.

So make their life easier and add it.

Read more