TinyMCE is a rich-text editor that helps convert the HTML textarea element into a WYSIWYG editor. While working with it recently, I noticed that it doesn’t work well with AJAX out of the box. This article explains the problem and provides a solution.
Use this IP address lookup tool to find detailed information and geolocation of any IP address. Besides being a functional IP lookup tool, this page also provides the full source code for the tool. To lookup an IP, just type it in and press submit.
The title “Shop” shown on the WooCommerce shop page is just plain ugly in my opinion. Especially if you use the WooCommerce shop page as your site’s homepage. Here’s how to change/remove it from the homepage without affecting other archive pages.
WordPress posts by default have an excerpt meta box where you can manually type in a custom excerpt. Pages don’t have this feature out-of-the-box. If you would like to enable excerpts on your WordPress pages, use the code in this post.
If you use the a3 Lazy Load WordPress plugin with a Genesis theme, you may notice an issue with lazy loading of Genesis archive images. Single post images are lazy loaded correctly. Images on archive pages are not. Here’s the code to fix this issue.
If you use the a3 Lazy Load plugin on a WooCommerce shop, you may notice that while images on single product pages are nicely lazy loaded, the lazy-loading feature just doesn’t work on archive pages. This article contains code to fix the problem.