[Social Share] How to add Share on LINE button

LINE is not only the top messaging app in Thailand, LINE users also share interesting links to each other just like Facebook. Web developers have to find a way to let them share links on the website easily.

Continue reading “[Social Share] How to add Share on LINE button”

[ACF] Solution to Google Maps not showing in ACF

ACF (Advanced Custom Fields) is the plugin that I used on almost every client projects. The Google Maps API used to work perfectly fine on ACF. However, due to the update on Google Maps API, it is now required API Key. This article will show you how to solve this problem.

Continue reading “[ACF] Solution to Google Maps not showing in ACF”

[JS & PHP] How to set cookies in JavaScript and get in PHP

There is the application I built today which required to send data between JavaScript and PHP. Therefore, instead of sending AJAX request everytime data has changed, I decided to set cookies from JS and use PHP to retrieve the cookies when needed.

Continue reading “[JS & PHP] How to set cookies in JavaScript and get in PHP”

[WordPress] Deployment on Amazon EC2: Solutions to Permalinks & PHP Issues

I have recently encountered 2 issues with deploying WordPress website on Amazon EC2; Permalinks not working on Amazon EC2 and old PHP version caused the code to break.

I would like to note the solutions here in order to save hours of Googling for everyone 🙂

Continue reading “[WordPress] Deployment on Amazon EC2: Solutions to Permalinks & PHP Issues”