Blog

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 abc.example.com, or random.example.com to example.com/user/subdomain, here is the snippet that will do the job. Lets say your nginx server block looks like this: server { listen 80; server_name example.com www.example.com; root /var/www/example.com/htdocs; index index.php index.html index.htm; […] } Now add this … Continue reading Nginx wildcard subdomain redirection

প্রোগ্রামিং নিয়ে কিছু কথা

একটা আর্ট, কোড সবাই-ই লিখে, কিন্তু এটাকে ভালভাবে লিখা একটা শৈল্পিক ব্যাপার। অধিকাংশ কোডারকে কিছু একটা বানাতে বললে যেভাবেই হোক আপনাকে সেই এক্সপেক্টেড জিনিসটা বানিয়ে দেবে। কিন্তু কোডের অভ্যন্তরীণ ব্যাপারটাকে শৈল্পিক পর্যায়ে নিয়ে যাওয়া সবার পক্ষে সম্ভব হয় না। সেই এক্সপেক্টেড জিনিসটা অনেকভাবেই বানানো যায়, কিন্তু আপনি কত সুন্দরভাবে প্রবলেমটা সলভ করছেন তা বলে দেয় … Continue reading প্রোগ্রামিং নিয়ে কিছু কথা

Goodbye 2015

Another year is just in the corner. Lots of things happened, good, bad and again a new year is coming just like always, passing by like the wind. Looking back, I only wrote 12 posts (including this one) throughout this year. I know, I know, I suck at writing, and most of them are technical, but that’s … Continue reading Goodbye 2015

I am listed in FutureStartup: 15 Under 35 For 2015

Future Startup, a startup related news media for startups in Bangladesh. They have been active in the startup scene in Bangladesh for a couple of years now and doing a really good job at that. Recently they made a shortlist of 15 startup Entrepreneurs, Trailblazers, Mold-Breakers Of Bangladesh under the age of 35 and luckily I am … Continue reading I am listed in FutureStartup: 15 Under 35 For 2015

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. [php] /** * Redirect user to checkout page directly after adding to cart * * @return string */ function wc_redirect_to_checkout() { $checkout_url = WC()->cart->get_checkout_url(); return $checkout_url; } … Continue reading WooCommerce Add to Cart Redirect to Checkout