HTML1506: Unexpected token in IE

posted in: Javascript, jQuery, Web development, WordPress

Yesterday, I received a support task from one of my clients. It was urgent because the users could not buy the product online. The issue occurred only in the IE browser(IE11 and IE edge). I checked the error message at the console and I found “HTML1506: Unexpected token“. I saw the same error back in 2015 when I worked with another client in the USA. This error is very common in IE. The cause The sample of JS code that … Read More

Filter Posts by Custom Taxonomy in Admin area in WordPress

posted in: WordPress

Let’s say we have a custom post type called “hotels“. We create the custom field named “country” and “rating” and add both fields into the “hotels” post type. In the Hotels page at the admin area, it shows hotel title, country, rating, author and date columns as the screenshot below. There are two hooks that involve in this solution. One is ” restrict_manage_posts” and another one is “parse_query “. The restrict_manage_posts hook will add the dropdown filter at the admin … Read More

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

posted in: Web development, WordPress

Google reCaptcha is a greate feature. It is easy to set and use on any website. If you are a web developer and you migrate the existing site to your localhost. When you are developing the website on localhost, on the form that you integrate the reCaptcha(V2 or V3) shows you, the error says “Localhost is not is the list of supported domains“. Well, there is a reason why and a solution to it.   According to the reCaptcha Developer’s … Read More

How to increase the maximum upload filesize in WordPress

posted in: WordPress

Last year, I wrote, “How to increase the maximum file upload size in Multisite WordPress Network with WHM“. Today I gonna share how to increase the maximum file upload size in WordPress(Not Network site). The screenshot below shows where we will set today. What we are looking for three settings below memory_limit post_max_size upload_max_filesize From the frontend, you can add this PHP code into your PHP file. This file will print out all PHP settings for your site. Beware this information … Read More

Google SiteKit for WordPress

posted in: WordPress

If you are working on online marketing or SEO, you should know the traffic tracking tools. One of the popular online tools is Google services such as Search Console, Analytics, AdSense and PageSpeed Insights. For WordPress, there are some good plugins to help you integrate Google product into your WordPress site. But those plugins don’t include all Google services. They offer only Google Analytics. But now you can add all Google services related to the website with SiteKit by Google. … Read More

Introduce affordable hosting with Awesome support

posted in: Hosting

Last month, I switched from old hosting to InterServer hosting. I found out the InterServer hosting is the best choice for the freelancer, individual or small business(business website, e-commerce website, a non-profit website, student website). Why do I say that? Here are my reasons. Affordable hosting & Price Lock Guarantee I did some research and compare the shared hosting plan from the popular shared hosting plans such as Bluehost, HostGator, Hostinger, and GoDaddy. All the popular shared hosting plans of … Read More

How to add another new domain to your host

posted in: Domain

Let’s say, you have a shared host that allows you to add more than one domain. You already have one domain set up with your host plan and you want to add one more domain. Today I gonna share with you how.     What you need to have before continuing Your new domain login. Once you bought a new domain, you will have your domain login. For example, if you register at NameCheap.com, you will have a NameCheap login … Read More

How to create the REST API with Slim framework

posted in: Web development

What is API? API, you may hear about it often nowadays. API stands for an application programming interface. It lets your product or service communicate with other platforms. For example, you have your own custom application or custom website and you want to exchange your data with the Facebook app or mobile application or other applications, you can create your own API and allow those platforms to access your data that you want them to access. For the business standpoint, … Read More

Your connection on this site is not fully secure

posted in: WordPress

Recently, I wrote the post of how to move a WordPress site to a new host with no downtime. At that time, I moved my site from non-secure site(http://) to secure site(https://). I notice at the address bar at the Chrome browser, I don’t see the lock icon which represents the secure site. Instead, I see the info icon. When I click on the info icon, I see “Your connection on this site is not fully secure” message. Today I … Read More

How to Move your WordPress site to a New Host (with No Downtime)

posted in: WordPress

Four months ago, I wrote a blog about how to move WordPress to a new host without any plugin. This method is useful if your site is big and complex and you don’t offer the RSS feeds. But if your site is small then you can use the Duplicator plugin. It provides both Free and Paid version. Plus using this plugin for moving the site, you get zero downtime.     How to use? It is really simple. Just follow … Read More

1 2 3 4 5 6 9