2,166 reputation
617
bio website deluxeblogtips.com
location Hanoi, Vietnam
age 28
visits member for 3 years, 4 months
seen Mar 28 at 7:28

I'm a WordPress developer. I'm working at FitWP, a team that make premium WordPress themes and plugins, and blogging at Deluxe Blog Tips, where I share my tips and thoughts about WordPress.


Feb
5
comment Loading scripts & styles from a meta box callback function
@knutole just fixed the link
Feb
5
revised Loading scripts & styles from a meta box callback function
deleted 27 characters in body
Feb
5
comment How to restrict actions and filters “properly” by conditions
This is a better solution. Putting the condition (current_user_can) outside any scope requires the availability of that function, and it might not when you load plugin/theme.
Dec
18
awarded  Yearling
Dec
4
comment Change wording of default thumbnail metabox
@Howdy_McGee that is correct with JS issue. I think the only way to do this is via Javascript.
Nov
22
comment WordPress Multisite - global categories
There's a big problem with this approach: The relations between posts and terms might not be correct. The table term_relationships contains this relation based on post ID and term ID. But there's always chance that posts in subsites have same ID. Changing terms for 1 post might unpredictable affect on another post in another blog.
May
29
answered Wordpress Media Manager - limit to specific mime type
May
29
comment Which action for triggering cron “wp”or “init”?
While this is a correct "design" for adding cron in WP, it still have problem in some cases like: updating plugin version (trigger doesn't happen because the plugin has been activated), or in development stage when you modify the plugin code. Using init or wp hook may not be the "right" approach, but it solves these problems.
Mar
13
comment Get multiple roles with get_users
Works like a charm! Thanks for sharing.
Feb
7
comment How to output content based on same custom taxonomy?
Updated the answer with code to get term slugs.
Feb
7
revised How to output content based on same custom taxonomy?
added 158 characters in body
Feb
7
answered How to output content based on same custom taxonomy?
Feb
1
comment How can I see all the actions attached to an “add_action” hook?
You can put it in header or footer, using wp_head, wp_footer or shutdown hook. Note: if you don't want users to see this debug information, you should check user permission by if ( current_user_can( 'manage_options' ) ) {...}
Jan
30
comment Showing posts for today and future
Correct, the post_status can accept an array (or string) as its value.
Dec
18
awarded  Yearling
Dec
6
comment No Styling for the datepicker in Wordpress admin
+1 for getting script version :)
Dec
5
revised Starter Theme vs Parent Theme? Pros and cons
deleted 9 characters in body
Dec
5
answered Starter Theme vs Parent Theme? Pros and cons
Nov
12
comment Setting multiple image urls using Wordpress' Media Uploader
Just fixed the backup var and removed the formfield. (I copied from the original code and didn't check well). This shows how to insert only one image.
Nov
12
revised Setting multiple image urls using Wordpress' Media Uploader
deleted 80 characters in body