3,012 reputation
11143
bio website
location Dallas, TX
age 33
visits member for 4 years, 7 months
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!


Feb
16
comment How to order a post type with meta_value_num and if meta_value_num does not exist then order by date
Beat by minutes with that answer.
Feb
11
reviewed Approve Display all posts in a custom post type, grouped by a custom taxonomy
Feb
11
reviewed Approve How to print search results related categories hierarchical?
Feb
10
comment Not getting posts of custom post types
Is this part of an archive page for the custom post type?
Feb
8
answered Fetch User Meta Data
Feb
8
comment Fetch User Meta Data
You are trying to get users where the meta_value is both a specific number and zero, which isn't possible. Did you mean OR?
Feb
1
awarded  Excavator
Feb
1
reviewed Approve remove empty paragraphs from the_content?
Feb
1
reviewed Approve remove_filter( 'the_content', 'wpautop' ); only for certain post types
Feb
1
reviewed Approve Use 'parse_query' filter to show posts that from multiple criteria
Feb
1
revised Query by meta_key and order by meta_value_num return orderby date
Fixed orderby
Jan
22
awarded  Enlightened
Jan
22
awarded  Nice Answer
Jan
22
reviewed Edit Wordpress search query
Jan
22
revised Wordpress search query
correct spelling
Jan
16
reviewed Approve How to pass error message from plugin function to admin_notices
Jan
16
comment How to get the page slug of the current archive page for a custom taxonomy
I recommend that you dome some research into template file hierarchy: codex.wordpress.org/… . Although my answer worked, how you are doing your template would be easier if you let WordPress handle the taxonomy stuff and use the main loop.
Jan
16
comment How to get the page slug of the current archive page for a custom taxonomy
See my new answer and use that instead
Jan
16
answered How to get the page slug of the current archive page for a custom taxonomy
Jan
16
comment How to get the page slug of the current archive page for a custom taxonomy
You don't need a custom query for that. All you would have to do is create a new template file with the name of taxonomy-event-categories.php and you can use the main loop instead of creating your own. I'd also rename your taxonomy to event_categories since having the dashes in the taxonomy name may cause issues when you do create an archive page