Featured Image as Previous Next Post Navigation in WordPress

Just add this code to single.php, replace or comment the default function like the_post_navigation, get_previous_post, get_next_post, etc. $prev_post = get_previous_post(); $prev_thumbnail = get_the_post_thumbnail( $prev_post->ID, 'large'); $next_post = get_next_post(); $next_thumbnail =…

Hide Warnings and Errors on WordPress Site

Sometimes, a plugin or theme throwing error or warning messages. To hide it, simply just put this on top of the wp-config.php file: ini_set('display_errors','off'); All set.

How To Fix Random Freeze After Update on Windows 10

In last 2 major updates (anniversary update end of 2016 and creator update April 2017), I experienced random freezes, it was completely frozen, even if you look at log viewer the message show “force reboot” without any details.

So I began to look at the current status of my PC’s hardware using speccy, nothing seems wrong, temperature, voltage, etc, looks normal. I also updated all drivers, memory check, etc, but the issue persists.

How to set posts redirect to a new domain

I'm moving out a blog to a new domain, and redirect all posts specifically to a new domain. http://olddomain.com/category/postname should go to http://newdomain.com/category/postname Apache Server On Apache that allows .htaccess,…

How to Make Your Xiaomi Phone as USB Modem on PC

Everything bad could happen during your run to your deadline, including your internet connection. I was in that situation couple weeks ago, just a few hours before I should send the document, the connection suddenly went down, and all my data are on the PC no WiFi module available. The first thing I remember was to use my Xiaomi phone to work as Internet Modem.

How to Solve PPTP VPN on Mac OS Sierra, Catalina and BigSur

I didn’t realize it at first, but when I need it, I realize it gone.

For security reason, PPTP VPN connection eliminated on the latest Mac OS started from Sierra. There is no way Apple will bring it back, but fortunately, there’s an App for that. I recently evaluating a VPN client for Mac that supports PPTP and other methods as well.