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() and is_home() return … Continue reading →

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 to users is really powerful. I'm not going to talk … Continue reading →

How to get all registered menus in WordPress

It's been a long time since last time I wrote about technical thing on this blog! But now I come back with a small tip of getting all registered menus in WordPress. Just a note: get all registered menus, not menu locations (for menu locations, WordPress already has a built in function - get_nav_menu_locations()). This is quite useful in some cases … Continue reading →

Things you can learn from 2014 theme

This is my small talk at the last Hanoi WordPress Meetup before the Lunar New Year! In this slide, I show some things that we can learn from 2014 theme from point of a developer. I don't talk about design or responsive thing as people talked about that too much. I focus only on code, where every theme developer should care about. … Continue reading →

Introducing Whisper – My First Premium WordPress Theme

I've been working as a freelancer for a long time. This is excellent progress to accumulate experience and it helps me a lot in being familiar with code of premium and free themes, frameworks and plugins. I've been learning and customizing them. Thanks for that knowledge, my team FitWP has built a theme framework and started making themes based on … Continue reading →

2 Small Secrets About WordPress

It was a stressful time for me in the last few months. Besides the regular freelance work, I and my WordPress team are trying to build a new business at http://fitwp.com (From Idea To WordPress) and http://7listings.net (theme dedicated for "listsings" website like accommodations, tours, companies, rentals, ...). And there're a lot of work … Continue reading →

My slide at Hanoi WordPress Meetup

On last Thursday, we hosted the 4th meetup of WordPress in Hanoi. It was the Mid Autumn Festival, so not many people came. But we still had 5 talks (2 slides). I also talked about widget settings UI & UX, which I think should be improved. People still don't pay much attention to widget settings. … Continue reading →

Disable XML-RPC in WordPress – Complete Guide

While monitoring hits to this blog, I recognize that the file which received most hits is xmlrpc.php. I was surprise because I don't use XML-RPC for remote access, posting at all. I guess the problem may comes from bots, spammers or even hackers. So I decided to disable XML-RPC completely and here is how I did that. … Continue reading →