weDocs Released as a Plugin

Most probably you guys have heard about the weDocs theme before, it’s a documentation theme and a very popular one I must say. Not everyone wants to create a separate site only for documentation purpose. I don’t want for every of my products either, some are separate entities altogether. So I’ve taken the functionalities out … Continue reading weDocs Released as a Plugin

Nginx wildcard subdomain redirection

In a situation like where you are using nginx and you have to redirect, or to, here is the snippet that will do the job. Lets say your nginx server block looks like this:

Now add this new server block before your existing server block:

Here the first server block … Continue reading Nginx wildcard subdomain redirection

WooCommerce Add to Cart Redirect to Checkout

If you need to redirect the user directly to the checkout page instead of the current product page or cart page, put this snippet to your themes functions.php.