My blog shares my own experience from working and living in Thailand. I come back and rewrite my posts time to time to keep things update. Feel free to share and please kindly give me credit. Enjoy coding!

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages
Filter by Categories
CodeIgniter
Computer
cPanel
Debug
Domain
Email
Hosting
Javascript
jQuery
Life in Chiang Mai
NPM
Performance
VSCode
Web Designer
Web development
WordPress
Yii2.0 framework

Astra – Fast, Lightweight & Customizable WordPress theme

For WordPress website, there are three main parts to build the WordPress website. One is the WordPress core which you … Read More

Where To Buy Top-Quality WordPress Themes

You want a new website and you choose WordPress to be the core of your site. Next, you are looking … Read More

Why I use WordPress Elementor Plugin

“Why I use WordPress Elementor plugin” Before page builder plugins were introduced to WordPress. We, WordPress developers, had to create … Read More

LiveChat to Increase Your Sales

Have you ever used LiveChat to ask some questions before buying the products or services? Have you ever used LiveChat … Read More

How to set up Flower shop with Elementor Pro – Part 2

From Part 1, we setup our flower shop with Elementor Pro and Starter templates plugins. Here is the final result from Part 1. Final … Read More

How to set up Flower shop with Elementor Pro – Part 1

Flower shop is a good example for starting a online shop. Clients can choose flower, ribbon and more options to … Read More

How to refresh Link Preview on Social Network

It will be a time that you may want to change your post image, post title and post description. Once … Read More

How to move HTTP to HTTPS on WordPress

Today, I got a request from my client to fix his website. The issue is, sometime the website shows a … Read More

How to create a Video Modal Popup in WordPress without Plugin

Earlier, I wrote “How to create a modal popup with Free plugin”. With that article, you can create any type … Read More

How to redirect a URL to another URL and Update Google

I have a request from my client to merge the website. My client has two websites for running the same … Read More

How to move your WordPress site with plugin

Time to time, you will need to move your WordPress site to another new web hosting. There are three ways … Read More

How to convert a page to a post in WordPress

Yesterday, I wanted to write a useful post on my site. Basically, all my posts are for you all who … Read More

How to create a modal popup with Free plugins

What is a modal popup? I explain in my own word to make it understand easily. The modal popup is a … Read More

How to set up Conditional Fields for Contact Form 7

Contact form 7 plugin is a simple contact form plugin. It has a well documentation. However, it doesn’t come with … Read More

How to reset WordPress site – Quick way

Sometime I need to reset my WordPress site back to the original installation state. For reset WordPress site, there are … Read More

How to Log Your Emails in WordPress with Plugin

Email log can be useful for you and client. You can view all emails sent from your WordPress site. You … Read More

How to fix my changes do not appear online with Elementor

Recently I am working on the new website for my client. On the website, I use Elementor plugin which is … Read More

How to add ribbon in Elementor

Elementor is the most popular page builder for WordPress. If you are web designer or web developer like me, you … Read More

Dental Implant in Chiang Mai

A few weeks ago, I met the dentist and I needed the implant for my tooth. However, I was shock … Read More

How to import/export WordPress theme customizer settings

Today I am working on one of my client websites. The site needs to add the translation file and some … Read More

How to stop Google Analytics from tracking logged in users in WordPress

Google Analytics is a must tool for marketing. It collects a useful data from your website. It makes you understand … Read More

How to stop Google Analytics from tracking your own visits

Google Analytics is a great marketing tool from Google. It collects the useful data from your website. It makes you … Read More

How to rollback WordPress theme and plugin update

Today one of the cache plugin on my site is updated. Everything seems fine until I find out some pages … Read More

How to use MariaDB with WordPress

For the websites that run on WordPress for long time, MySQL is the main database. The default MySQL port is … Read More

Translation Service in Chiang Mai

Sometime you need the English translation service for your documents. When I applied for my Green Card for moving to … Read More

How to add custom fields to quick edit in WordPress

A quick edit is one of useful feature from WordPress. It is useful when you just want to add or … Read More

How to create custom templates for custom post type in WordPress

“How to create custom templates for custom post type in WordPress”, is one of the most popular questions from the … Read More

How to add custom fields to your WordPress

For my work, I am often requested to do the customization for my clients. One of the most requests are … Read More

How to add tag cloud in visualization tools to your WordPress

Earlier, I wrote How To Display A Tag Cloud On WordPress, in that post, we display the tag cloud by … Read More

How to display a tag cloud on WordPress

This post, we are going to display a tag cloud on WordPress. WordPress provides the tag cloud widget by default. … Read More

How to create a custom taxonomy in WordPress

The previous post, I talk about how to create the custom post type. This post, I gonna talk about how … Read More

How to create custom post type in WordPress

How to create custom post type in WordPress? This is a popular question for WordPress. The custom post type extends … Read More

Google reCAPTCHA verification failed, please try again later.

When you add the contact form or any forms on your website and web application, it is a good idea … Read More

Your package name is invalid – Composer 2.0

I have a Yii2 project and I have been using this yii2 project since 2015. The installed version was 2.0.6. … Read More

How to Add Videos to WordPress

Recently I help my client to add some videos in WordPress. If you host the video on Youtube or Vimeo, … Read More

How to add individual column filtering in DataTable

Recently I wrote several posts related to DataTable plugin. The latest one was “How to filter data in DataTable using … Read More

SendAsDenied error when sends an email using Office365

Recently I work with one of my client WordPress websites that uses the Microsoft Office365 as mail sending. I already … Read More

How to filter data in DataTable using Ajax in CodeIgniter

When you create a web application for managing your data such as accounting, stock, and sale orders. You will need … Read More

How to delete data from Datatable plugin using Bootstrap modal in CodeIgniter

Recently, I wrote two posts about adding and editing the data in the Bootstrap modal in CodeIgniter. Today I will … Read More

How to edit data from Datatable plugin using Bootstrap modal in CodeIgniter

In the last post, I wrote, “How to add data from Datatable plugin using Bootstrap modal in CodeIgniter” I show … Read More

How to add data from Datatable plugin using Bootstrap modal in CodeIgniter

Datatable plugin is one of the popular JavaScript plugins. It displays the data in the table style. It comes with … Read More

How To Use DataTables In Codeigniter

When you work on a web application or the back-end of your website, you often create reports for the users. … Read More

How To Integrate Bootstrap 4 in Codeigniter

A couple weeks ago, I wrote a CodeIgniter3 tutorial series. In the series, there is no CSS framework integrating into … Read More

How to enable PHP error logging in CodeIgniter

When you deploy your application to the production server, it is a good practice that you enable the PHP error … Read More

How to remove index.php from URLs in CodeIgniter

By default, the index.php will be included in the URLs as it shows below. “https://example.com/index.php/users/login” You can remove the index.php … Read More

How to use auto-loading resources in CodeIgniter

if you are a web developer and familiar with the modern web framework, you may know the auto-load feature. CodeIgniter … Read More

How to define constants globally in CodeIgniter

When you are developing the web application, you want to set the constants that you will use in the application … Read More

What I normally set the index.php in CodeIgniter

When you are developing the web application, you normally develop on your localhost (your computer). You will set up your … Read More

How to enable profiling in CodeIgniter

When you are developing the application or website with CodeIgniter, you should enable the profiling feature. It will help you … Read More

How to Connect Multiple Database in CodeIgniter

Last week, I wrote the basic CodeIgniter3 tutorial series. I picked the CodeIgniter3 for my small web application because it … Read More

Creating a Web Application with PHP and CodeIgniter – Part 4 (Final)

In part 4, we will learn how to add the new data via a form. Part 4 is the final … Read More

Creating a Web Application with PHP and CodeIgniter – Part 3

In part 3, we will learn how to create a Model, View, and Controller in CodeIgniter. Also, we will learn … Read More

Creating a Web Application with PHP and CodeIgniter – Part 2

In part 2, we will learn what is MVC pattern. Model-View-Controller (MVC) CodeIgniter is based on the Model-View-Controller development pattern … Read More

Creating a Web Application with PHP and CodeIgniter – Part 1

A few weeks ago, I was assigned a new project. The requirements were to create a new small application in … Read More

How to create a WordPress child theme

If you are planning to do the customization (change the templates, CSS, or add more functionalities) on your site and … Read More

Health Insurance for Long Stay Visa in Thailand

Since 31 Oct 2019, foreigners applying for a Non O-A visa will be required to purchase health insurance during staying … Read More

10 Most Popular Types of Websites

When building a website, you should identify what type of website you need. The most popular types of websites are: … Read More

What You Need to Build a Website – Checklist

To build a website, there are 4 things you need. Domain Name Business Email Address / Contact Email Address Platform … Read More

How to fix WordPress not sending Emails issue

Issues with email sending are some of the most common questions that I have from my clients. Often, the clients … Read More

How to Create a Custom WordPress Widget

In the previous post, I talked about how to create the custom sidebar. Today, I will talk about how to … Read More

How to create a custom WordPress sidebar

The sidebar is one of a popular feature on the website. Often, it uses for blog or news page. Some … Read More

How to install and enable Memcache in WAMPserver

Lately, I work on the WordPress website that my client enables Memcache on their site. In order to develop the … Read More

How to transfer data from an old PC to a new PC for Windows 10

Recently I bought a new laptop and I want to transfer all the data from my old laptop to the … Read More

Owl Carousel plugin – jQuery carousel slider with fully customizable and responsive

A carousel slider is another popular feature that you see often on the website. Often you will see the carousel … Read More

How to add Google font to mPDF

A few days ago, I added the Open Sans font which is a Google font into the mPDF library. My … Read More

Export the data as Excel file in WordPress

Last month, I had a request from my client to create the export data as the excel file in WordPress. … Read More

Create a custom table plugin in WordPress

For WordPress, you can create the custom post type, custom taxonomy and custom category that fit your need. But sometimes … Read More

How to pass Javascript value to PHP in WordPress

Working on customization in WordPress sometimes we need to pass the PHP value to Javascript or Javascript value to PHP. … Read More

How to transfer the domains with websites, emails and calendar data from GoDaddy to 1and1

Recently I get a request to transfer a domain, website, email account and calendar data from GoDaddy to 1and1. The … Read More

Export your email and calendar data – Migration

Last week, I had a request from my client to transfer the domain as well as all email accounts from … Read More

How to update NodeJS and NPM to the latest versions

Lately, I am starting to work on the Vuejs project. I installed NodeJS and NPM before but now I want … Read More

Search by Custom Fields without a plugin

Lately, my client requires me to add the ability to search by custom fields at the backend. Today I gonna … Read More

How to add a new column via Yii2 migration into specific table

Today I want to add a new column into the existing table in Yii2. Instead of adding the new column … Read More

How to Add Additional Custom Fields into WooCommerce Checkout Page

Woocommerce plugin is one of the most popular e-commerce plugins for WordPress. The core fields on the checkout page are … Read More

Common Git Commands

Today it was a raining day. I was cleaning my repositories on GitHub and bitbucket. So it is a good … Read More

Add Embedded Videos to WordPress and Make Them Responsive

Recently, I got a request from my client to add the video into WordPress. Plus the video must be responsive. … Read More

Gitflow for a complex project

Last month, I had to work on the complex WordPress website and I had to work with other developers. The … Read More

The essential skills every web developer should have

Recently I was asked by some startup CEO how to recruit the right web developer for fulfilling the experienced web … Read More

Add new font file into yii2-mpdf extension

In the Yii2 framework, you want to print or export the data as a PDF file. One of popular extension … Read More

HTML1506: Unexpected token in IE

Yesterday, I received a support task from one of my clients. It was urgent because the users could not buy … Read More

Filter Posts by Custom Taxonomy in Admin area in WordPress

Let’s say we have a custom post type called “hotels“. We create the custom field named “country” and “rating” and … Read More

Localhost is not is the list of supported domains – reCaptcha issue

Google reCaptcha is a free service that protects your site from spam and abuse. It is easy to set and … Read More

How to increase the maximum upload filesize in WordPress

Last year, I wrote, “How to increase the maximum file upload size in Multisite WordPress Network with WHM“. Today I … Read More

Google SiteKit for WordPress

If you are working on online marketing or SEO, you should know the traffic tracking tools. One of the popular … Read More

Introduce affordable hosting with Awesome support

Last month, I switched from old hosting to InterServer hosting. I found out the InterServer hosting is the best choice … Read More

How to add another new domain to your host

Let’s say, you have a shared host that allows you to add more than one domain. You already have one … Read More

How to create the REST API with Slim framework

What is API? API, you may hear about it often nowadays. API stands for an application programming interface. It lets … Read More

Your connection on this site is not fully secure

Recently, I wrote the post of how to move a WordPress site to a new host with no downtime. At … Read More

How to move your WordPress site with zero downtime

Four months ago, I wrote a blog about how to move WordPress to a new host without any plugins. The … Read More

How to download the data as csv file in WordPress – deal with the PHP old version

Yesterday, I had a request to implement the download data as an excel file from WordPress. The client’s business sells … Read More

How to install multiple PHP and MySQL versions on WAMPserver

Recently I am working on the WordPress site from a new customer. The client’s server is using PHP5.5.38 which is … Read More

WordPress Security Guide

A couple of days ago, I saw a post from the Facebook WordPress group asking for help. The issue was … Read More

How to Point a Domain Name to Your Site

“How to Point a Domain Name to Your Site” is a normal question that my clients ask me often. Most … Read More

Dev domain name with an SSL certificate

If I remember right, since 2017, the .DEV is intended to be a secure namespace, so all potential .DEV domain … Read More

D.I.Y Air Purifier in 10 sec

This year, the air pollution in the North of Thailand is the worst in the history. Chiang Mai air quality … Read More

Living in Thailand with Termite

Living in Thailand, you may see or hear people has a termite problem. In Thailand, we build the house with … Read More

How To Automatically Delete Forwarded Emails in CPanel

Lately, I set up a new host as well as the email accounts for my client. The host I use … Read More

How to set the application timezone and MySQL for Yii2

I built my own application in 2017 when I lived in the USA and all my clients were American. The … Read More

How to Move WordPress site to a New Host without Plugin

You have a website and it has been working great on your host. However, It may have a time that … Read More

How to clear the assets cache in Yii2

With Yii2, it comes with the asset management calls asset bundle. An asset bundle is simply a collection of assets located in … Read More

How to save the multi-records in one model in a single transaction in Yii2

Recently I just add the new feature on my application. What new feature does, it generates the new invoice from … Read More

How to export database from Yii2 application

The export database feature is nice to have for backup and restore the database from either website or web application. … Read More

How to create the bulk action in Yii2

Howdy, working in the back-end in the web application, often you will find the bulk actions is very useful when … Read More

How to create the module in Yii2

Recently I have been adding the new features to my own application. I add new features using the module so … Read More

How to remove the extension or package with composer

Often when I work with the PHP framework and I want to install the extensions or packages in general term, … Read More

(TM47) 90 days reporting for Thai Retirement Visa – Online

(last update on 9 Jan 2019) For Thai Retirement Visa, you must report every 90 days. It is time consuming … Read More

How to add the pagination dropdown list in GridView in Yii2

Earlier, I wrote how to add the summary footer in the gridview widget. The grand total column will sum all … Read More

How to add the summary in the Gridview footer in Yii2

Currently, I am building the invoice feature in my own application with Yii2. I use the gridview widget for displaying … Read More

Building WordPress Plugins with Object-Oriented Concept

When I develop the custom plugin, I prefer to build the custom plugin with Object-Oriented Programming(OOP) to avoid the conflict … Read More

How to validate a form with jQuery validation plugin

When you want to do the form validation you can do from the client-side and server-side. I like to do … Read More

How to avoid jquery conflicts in WordPress

WordPress developers know that the jQuery in WordPress runs in noConflict mode. This means when you enqueue the script that … Read More

How to pass PHP value to JavaScript in WordPress

Often when I work on the custom plugins or custom themes, I will call the PHP functions within JavaScript. I … Read More

How to create the shortcode in the WordPress plugin

Create the shortcode is very simple. Only one thing you have to remember is to print out the content from … Read More

How to make a WordPress Admin Options page without using the Setting API

Last week, I did one small task which is adding the floating survey button on the front page. At the … Read More

Translating WordPress Plugins

A few days ago, I wrote how to add the translation files to your child theme. If you use the … Read More

Adding Translation Files To Your Child Theme

Last week, I received the urgent project from my client. The site needed to be online within one day. The … Read More

Checklist for Thai Retirement Extension

For a Thai retirement visa, a person who holds this kind of visa must report at the immigration every 3 … Read More

How to send an email using SMTP in localhost with WAMP

When I develop the email function on my localhost, I like to set the Gmail account for sending an email from … Read More

How to make your WAMP runs faster in Windows10

I have been using WAMP for years. Sometimes I notice the web page loads slower than the same web page … Read More

My Favorite Visual Studio Code Extensions

I have been using the visual studio code since 2016. The cool features that I like the most is the … Read More

How to change the default drop-down box on iPhone

When you are working on the responsive design. You want your design works well across all devices. Today I will … Read More

Redirect the old URL to new URL in WordPress

It is common that your clients want to change the slugs for the different reasons. When the slug of the … Read More

Remote Debugging On Android Devices From Windows

Sometimes, you have a style issue that occurs on the real mobile device only. If you were developing the site … Read More

Add a MailChimp Signup Form to Your Website

A few days ago, I got a request to add the signup form from MailChimp to the WordPress site. There … Read More

How to add the links inside the select box

We all know that we can not add the links inside the <option> in the select box. Today I gonna … Read More

How to increase the maximum file upload size in Multisite WordPress Network with WHM

Today I have a request from the client to increase the maximum upload file size for WordPress Network. The server … Read More

How to trigger a click on a link using jQuery

Today I am working on some small tasks. It should not take long. But I stuck on one issue for a … Read More

Thai Retirement Visa

Today my husband went to apply for the Thai retirement visa at Chiang Mai immigration office at Promenada. The office … Read More

I can not access to WP dashboard after migration

Today I am working on one of my client projects. The site is very simple and it was built by … Read More

Multiple grids on one page in Yii2

Recently I upgrade my Yii2 application. What I do, I add two Gridview widgets on one page. One Gridview shows … Read More

TM30 – report to immigration within 24 hours

Lately, if you are the house or condo owner and you have the foreigners stay in your properties, you must … Read More

How to get Thai motorcycle driver’s license in Chiang Mai

In Chiang Mai, the best way to get around in the city is using the motorcycle. If you have NON-O visa … Read More

WordPress VS Modx

Before you read this post, I want to say the post is my opinion. Some people may think differently from … Read More

How to get a residence certificate in Chiang Mai

My husband is a foreigner and he wants to get a motorcycle driver license in Chiang Mai. Before he applies … Read More

SASS, CSS framework and Task runners

Many years ago, I worked with a web designer. What she did, she designed and created the templates for the … Read More

Upload file won’t send to backend with Ajax

Sometimes you create a form by containing the file input field(such as upload image file) and other text input fields. … Read More

Global search box in grid view widget in Yii2

One feature that the users like, is the global search. With CRUD from gii module, the index.php comes with filters … Read More

Ajax validation in Yii2

Yii version 2.0.13.1  When you are working on a form validation, sometimes it is better for the users if you … Read More

VScode and XDebug

Visual Studio Code version 1.19.3 Recently I change my developing tool from NetBeans to VScode(Visual Studio Code). The main reason … Read More

Override delete confirm dialog in Yii2

Yii version 2.0.13.1 In the grid view widget, the delete button uses the window confirm dialog which is simple. But … Read More

Language switcher in Yii2

Yii version 2.0.13.1 Currently, I am building the custom application with Yii2. I want to add the language switcher in … Read More

All javascript won’t work after Pjax reloads in Yii2

Yii version 2.0.13.1 When you work with Pjax either Pjax jquery or Pjax module, you may face the same issue … Read More

Select2 plugin does not function properly in bootstrap modal

Yii version 2.0.13.1 Select2 plugin is very useful plugin when you are building the custom application or website. ProblemWhen I use … Read More

Pjax is not working, reloads the whole page

Yii version 2.0.13.1 Recently I am working on building the custom application with Yii2.0. I have one issue with Pjax … Read More