Categories
HTML/CSS PHP Programming WordPress WordPress Themes

[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.

Categories
PHP Programming WordPress WordPress Themes

[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.

Categories
PHP Programming WordPress

[WordPress] Solution when define(‘WP_DEBUG’, false); is not working

Generally, when we added define(‘WP_DEBUG’, false); to wp-config.php, it should disable every warning & notice on the website.

Categories
PHP Programming WordPress WordPress Themes

[WordPress] Custom URL using add_rewrite_rule

In the recent project, the clients would like to have pretty URL for good SEO in WordPress. Since the URL structure for WordPress is pretty limited, I have to try rewriting custom URL for client.

Categories
JavaScript PHP Programming WordPress

[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.

Categories
PHP Programming Uncategorized WordPress

[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 🙂

Categories
CSS PHP Programming WordPress WordPress Themes

[WordPress] Customizing with Tag Cloud Widget

Since the default tag cloud widget looks outdated, this is a simple way to style / customize tag cloud widget to fit your need.

Categories
PHP Programming WordPress

Auto-deploy WordPress via SSH with WordMove [Update 2015]

WordMove is Ruby package for deploying WordPress from localhost to live environment. It can be found here: https://github.com/welaika/wordmove

Categories
PHP Programming WordPress WordPress Themes

[PHP] URL ทำปุ่มแชร์ Share Social Facebook, Twitter, Google Plus ต่าง ๆ

Categories
PHP Programming WordPress WordPress Themes

[PHP] URL สำหรับดึงเลข Share Facebook, Twitter