2,632 reputation
11039
bio website
location Dallas, TX
age 32
visits member for 4 years, 1 month
seen 2 hours ago

Whats there to know? A simple Geek who loves sci-fi and always up for a good challenge to solve. Hope to ask a lot of questions and hopefully get to answer some as well!


Apr
28
comment CPT Template Not Showing - Getting 404
@kaiser There is a similar action for taxonomies called registered_taxonomy so it could also be done for those. I was thinking that if you did this for a plugin where the slug was changeable, all you had to do was unset the post type from the array and this would automatically get called again
Apr
28
comment CPT Template Not Showing - Getting 404
@toscho Nice. Will this flush all rewrite rules or just those of that post type? will this effect those created by add_rewrite_rule? BTW love getting these little nuggets of knowledge like this)
Apr
28
comment CPT Template Not Showing - Getting 404
Had a few questions on this: will this be as resource intensive as flushing the rewrite rules and does this run every time WP loads?
Apr
20
comment Does the functions.php file ever get called during an AJAX call? Debug AJAX
Man, you are thorough :)
Apr
20
comment Does the functions.php file ever get called during an AJAX call? Debug AJAX
As detailed as ever, @toscho. Its especially hard to debug when the code runs fine on your end but not for someone else. Can't seem to reproduce the problem but your answer will probably send me in the right direction.
Apr
20
comment Does the functions.php file ever get called during an AJAX call? Debug AJAX
Thank you for the help. Trying to debug this is getting tricky
Apr
20
comment update_post_meta not saving when value is zero
0 is one of the values considered false when you evaluate it in an if statement.
Apr
20
comment How to add color picker to widgets?
Added the corresponding php snippet. I added it to the functions.php file.
Apr
14
comment Schedule future post to custom post status instead of publish?
I think this will work. Thank you
Apr
8
comment Better wordpress attachment query then this
What format is the date in your post meta saved?
Apr
5
comment Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
Have you tried flushing your rewrite rules?
Mar
30
comment Display Posts Only with Specific Tag
Do you know the tag slug?
Mar
30
comment Display Posts Only with Specific Tag
I'd check to make sure whether or not your tag slugs have spaces in them or not because they shouldn't. game trailers probably should be game-trailers
Mar
25
comment Why doesn't /2013/01/ properly return January's archives in archive.php?
It's probably because query_posts runs a new query instead of just editing the main one. try editing that out and see if that helps
Mar
22
comment force jQuery to load in the head
just updated. There are a couple ways of doing it
Mar
20
comment Getting selected (highlighted) html from the Visual Editor on Edit Post page?
So, you could use this as a replacement to send_to_editor, could you not?
Mar
17
comment List upcoming events, ordered by date in a custom field
Also Wordpress has built in functions to convert dates from Unix or MySql format to something more readable to people
Mar
8
comment Custom image size not regenerating when image editted
Thank you, that did it. It's weird that add_image_size doesn't do this by default. Sounds like the function needs to be expanded.
Mar
1
comment Add additional field to custom post_type
What I meant was where is the coresponding do_filter? What code us using that meta box array?
Mar
1
comment Add additional field to custom post_type
What is team_sample_metaboxes returning to. Where is the team_meta_box filter being used?