Grunt: Saving disk space when installing packages

I've been using Grunt for WordPress development for a while. It's a great tool and help a lot in automation tasks like compiling LESS to CSS, minifying CSS/JS files, etc. But one problem I met when using Grunt is in every project I work on, there's always a folder node_modules taking a lot of disk…

How to resize image on the fly in WordPress

There are several scripts to resize image on the fly such as Aqua Resizer, vt_resizer, script by Konstantin Kovshenin, Dynamic Image Resizer, and so on. They are great and work perfectly. But it seems a lot to me. All I want is a script that resize an image which is passed by attachment ID (not…

Utilize available post fields for Custom Post Type

When store meta data for a post type, we often think of custom fields first. This is reasonable because custom fields are born to store such custom meta data for posts. As we know each custom field is stored in 1 row in the postmeta table in database. If a post type has large number…

30 Top Bestselling and Beautiful WordPress Themes For Any Industry

30 Top Bestselling and Beautiful WordPress Themes for Your Financial Prosperity What can a bestselling WordPress theme do for your business and finance site? Competent and well-structured business template is a key to success of any business company. Your site mostly denotes the number of clients and general recognition of your organization. Without it, starting…

Best WordPress Translation Plugins for You

As we know that WordPress is not multilingual by default. We need to embed plugins to make it support different languages. Since, the concept of "global connectivity" is growing at  a rapid pace, businesses need to create ways for communicating with others easily and in the most "seamless" way. It's not surprising that there is…

Meta Box now has its own domain metabox.io

My popular plugin Meta Box, a plugin that helps developers/users to create custom meta boxes and custom fields easily in WordPress now has its own domain: metabox.io. That website will be dedicated for Meta Box plugin and all its extensions. I'll be adding more documentation on the website soon as well so developers can develop…

How to get page by page template in WordPress

There are situations when you need to redirect users to (or get something from, do something with) a specific page which is created by a page template in WordPress such as a thank you page after submitting a form. Unfortunately there's no official ways to get the page with a page template name in WordPress…

Understand is_front_page() and is_home() – Visual guide

Although these 2 functions are well documented in the Codex, sometimes I still feel confused about using them in a specific context. There're also some good explanations as well, but they're text and hard to remember! So I created a Google spreadsheet for quick reference that can help us to quick see which value is_front_page()…

Why do I love Custom CSS module in Jetpack?

Made by Automattic, Jetpack is one of the most popular plugin for WordPress. It's not only used on WordPress.com but also on millions of hosted WordPress.org blogs. I did use it when it was first born a long time ago and wasn't too impressed. But now it has changed a lot and what it brings…