2,276 reputation
718
bio website deluxeblogtips.com
location Hanoi, Vietnam
age 29
visits member for 4 years, 5 months
seen May 20 at 9:59

A WordPress enthusiast, author of Meta Box plugin, working at FitWP, a team that makes premium WordPress themes and blogging at Deluxe Blog Tips.


Apr
2
reviewed Approve Shortcode error
Dec
22
comment How Can I Centralize Content Usage and Approval in a WordPress Multi-Site installation
@Madivad Actually I rewrote the plugin for my needs. I removed redundant code and optimized it for specific cases. I don't need the new version or update anymore. But if you want to use this plugin without adding more stuffs, you can just download and use it (unfortunately, it doesn't have hooks to add more functionality).
Dec
18
awarded  Yearling
Dec
9
awarded  Excavator
Dec
9
revised Get terms by taxonomy AND post_type
Format query string for better readability
Nov
4
comment Determine Term depth
Very nice solution. Thanks!
Oct
12
comment Add custom message to the plugins page of Wordpress
Try get_current_screen() function to get current screen (admin page) information.
Sep
16
comment get term by id without taxonomy
Why do you just use $wpdb->get_var to select only taxonomy from the database?
Sep
10
comment Check if add_menu_page exists or not
I bookmarked this answer a long time ago and now just used it. It works perfectly. Simple and effective. Thanks!
Jul
16
comment Is it possible to override the result of get_template_part()?
I think this is a good way to do that. Not sure why it's not accepted :)
May
28
answered Actions, functions and conditionals
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.