193 reputation
9
bio website flyingtrolleycars.com
location Seattle, WA
age 31
visits member for 1 year, 5 months
seen Mar 19 at 23:46

I'm a developer living in the Seattle area.


Apr
16
answered Add extra field when admin create user
Apr
16
comment Get Authors Role
If my answer worked please mark it as the solution.
Apr
12
answered Get Authors Role
Apr
12
comment What is wrong with this wp_query?
Just a quick side-comment. Why not just use "get_posts" instead of juggling all that stuff with the $wp_query variable? As far as the main question, my guess would be a mismatch with the time value stored in the DB compared to date('g:i A').
Apr
12
comment Get Authors Role
You question is a little confusing. The first code echoes a user's role. The second code adds a template part based on their role. What, exactly, are you trying to do?
Apr
4
comment Removing fields from the Media Uploader/Gallery
I agree. For now I've opened a ticket over on Trac. If they're going to make it the same as any other post it should respond to remove_post_type_support(), at least.
Apr
3
revised Removing fields from the Media Uploader/Gallery
added 6 characters in body
Apr
3
comment $form_fields from attachment_fields_to_edit returning empty array
After investigating the only thing I could figure out was to catch admin_head and admin_footer to forcibly modify the HTML. It's pretty klugey.
Apr
3
answered Removing fields from the Media Uploader/Gallery
Apr
3
comment $form_fields from attachment_fields_to_edit returning empty array
Yeah, @Dan. I'm running into the same thing. This comment on trac would seem to verify your thoughts about the new media manager working differently. Did you have any luck figuring this one out?
Apr
3
comment Removing fields from the Media Uploader/Gallery
This Trac comment makes it clear that the solutions below will no longer work. Does anyone have an updated anser to this question? core.trac.wordpress.org/ticket/22664#comment:7
Apr
3
awarded  Commentator
Apr
3
comment Removing fields from the Media Uploader/Gallery
Doesn't appear to work any more. $form_fields is empty for this filter.
Mar
29
awarded  Custodian
Mar
29
reviewed No Action Needed Automate Product Import with WooCommerce?
Mar
26
revised Settings API - save multiple tabs at once
added 235 characters in body
Mar
26
comment Settings API - save multiple tabs at once
Thanks for the heads up, Chip. You're absolutely right. I guess what I should suggest is that you register an option of "my_theme_has_been_installed" and if it hasn't been set then do the init and set it. I rather like your more detailed answer, though. :)
Mar
25
comment How to change post format from Aside to Image for all posts?
If there aren't enough posts displayed on one page you can also open the "Screen Options" section at the top of the page and display more posts per page.
Mar
25
answered Settings API - save multiple tabs at once
Mar
25
comment Save list from a custom meta box?
Please mark the answer below as accepted.