82 reputation
7
bio website
location Kansas City, KS
age
visits member for 2 years, 2 months
seen Apr 17 at 6:43

WordPress developer


Mar
24
awarded  Popular Question
Oct
23
comment rewrite rule for home/index page
Yeap, permalinks resaved whenever changes are made. And when I var_dump( $wp_rewrite ) new rule is not there.
Oct
22
asked rewrite rule for home/index page
Oct
22
comment How do you use a CPT as the default home page?
This doesn't work at all ... server warnings/errors: Missing argument 2 for wpa18013_add_pages_to_dropdown() and Undefined variable: r
Apr
4
comment Filtering the Admin Comments List to Show Only Comments from the Current User?
Pay your attention to foreach($comments as $i => $comment) ... the most probably you won't be able to unset the comment because PHP duplicates an array. You should use foreach($comments as $i => &$comment) instead which will make array member unsetable.
Mar
27
comment If new comment posted in custom post - send notification to custom email from custom field
That's OK but 2 things need to be pointed out: 1. get_comment( $comment_id ) should be get_comment( $comment_ID ) 2. in order for this function to work, post meta (custom field) should have name - value pair declared: master_email - somebody@somedomain.com
Mar
24
accepted Fetch all Posts where logged in user has commented
Mar
24
comment Fetch all Posts where logged in user has commented
That's exactly what I needed! The only thing that I changed is sql WHERE clause because it actually needs to be compared to logged in user ID. Thanks a bunch!
Mar
24
comment wp_update_user doesn't update and update_user_meta does
I think it has something to do with how data is saved to wp database, there are two separated tables "wp_users" and "wp_usermeta".
Mar
24
asked Fetch all Posts where logged in user has commented
Oct
22
accepted How do I create Widget within plugin that uses its own class?
Oct
18
comment WP_Query - meta fields numeric
Try with "OR" and compare => 'BETWEEN' for a case key value is not strictly set to 200000.
Oct
18
answered WP_Query - meta fields numeric
Oct
18
comment How do I create Widget within plugin that uses its own class?
That's correct man, thanks a lot! It looks like WP_Widget is fired too early.
Oct
17
accepted Complex meta query with 3 keys
Oct
17
awarded  Commentator
Oct
17
comment How do I create Widget within plugin that uses its own class?
I have edit my question in order to make it as clear as possible.
Oct
17
revised How do I create Widget within plugin that uses its own class?
added 114 characters in body
Oct
17
comment How do I create Widget within plugin that uses its own class?
@toscho - I have "my-plugin.php" that is main plugin file packed as a class. I'm trying to include additional file (require_once( 'include/custom_functions.php' );) that holds widget class and add_action. External file is included out of plugin class.
Oct
17
comment How do I create Widget within plugin that uses its own class?
@MridulAggarwal - I know I can't put one class into another, I'm trying to pack widgets along with a plugin.