228 reputation
19
bio website flyingtrolleycars.com
location Seattle, WA
age 31
visits member for 1 year, 9 months
seen Aug 28 at 16:51

I'm a developer living in the Seattle area.


Jun
17
answered How can add custom commands in post-new.php in wordpress
Jun
17
awarded  Yearling
Jun
17
comment Redirect to a page after a few seconds
If your goal is to misdirect a search engine into believing the content is there then JavaScript won't help. Google's engine is sophisticated enough to realize you're changing the URL. If your intention is to have a URL actually redirect to correct content then you'll want to use wp_redirect() as below. There isn't really a great reason to show a page for 5 seconds.
Jun
17
answered Extract an embedded video from the content
Jun
17
comment get_plugins() doesn't work after plugins_loaded
There is no way to "not include the file". The codex explains that the function is, really, only designed for use in the admin side of WordPress - not for themes. If you want to use it in your theme go ahead and include the file as shown.
Jun
17
comment get post author id outside loop
It's also your own question. You can edit it to clarify.
Jun
17
comment Pages displays correctly but returning a 404 error in http header.
It certainly could. Unfortunately the magic that happens under the hood for finding old slugs is difficult to deal with. It also leaves a trail of records in your database. You can forcibly disable it by adding this to your functions.php: remove_action( 'template_redirect', 'wp_old_slug_redirect' );
Jun
16
answered Archive page of filtered posts
Jun
16
answered Is there a better way to check for a new comment?
Jun
16
answered Pages displays correctly but returning a 404 error in http header.
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?