As I develop more and more plugins for WooCommerce, a need for WooCommerce product search emerges. You know, this kind of product search: If you ever need the full source code of this plugin, please visit this github repo Let’s learn how to create a field like that so you can use in your plugin.… Continue reading Create WooCommerce Products Search Input For Your Plugins
If you are reading this post (not by accident), I can safely assume that you share with me the frustration with browser cache. For normal users, browser cache is great since it speeds up website loading, save bandwidth… But for web developers, it’s something different: Well, imagine you have changed some CSS to your button,… Continue reading Finally A Browser Without Cache – Web Developer Dream!
So recently I decided to move my server from HostGator to DigitalOcean droplets. In comparison, DigitalOcean has so many benefits over HostGator, especially for developer. The most notable are: Full root access You can install anything you want on DigitalOcean Free SSL (Let’s encrypt) Cheaper More powerful server (2GB of RAM, 50GB SSD, 2TB transfer… Continue reading The Ultimate Nginx Configuration For WordPress Website
Previously, when creating a login system, I usually take users’ password input and md5 it and store in the database. Doing so seemed to be sufficient enough. However, no one can be sure that their system is not vulnerable to attacks. In the worst case when your site gets hacked, your database is stolen, using… Continue reading Create and verify password in PHP with new hashing functions
I’ve been writing code in PHP for more than 5 years and it’s a shame to admit that I didn’t know composer until recently. I’ve read some tutorials but couldn’t get my head around it. I have to admin that since I code mostly small web projects (WordPress plugins…) I don’t find the need for… Continue reading Quick Composer Tutorial – Learn Composer PHP in 10 Minutes