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!


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
Jan
16
comment How to get the page slug of the current archive page for a custom taxonomy
Is there any reason you are creating a custom query?
Jan
16
comment How to get the page slug of the current archive page for a custom taxonomy
What do you mean by the page slug? If the page is for a category, it'd have multiple posts on there. Are you looking for the taxonomy term slug?
Jan
8
comment WordPress doesn't remember my custom rewrite rule
But if its in init its called every time you go to tge site
Jan
8
comment Rendering the uploaded file in a wp.media object
Can you post the code that calls the media modal?
Jan
8
comment WordPress doesn't remember my custom rewrite rule
Having flush_rewrite_rules in init is a bad idea and will probably slow down your site. You only need to call it once, preferably during the activation of a plugin.
Jan
7
answered Detect Post Type when publish_post is ran
Dec
31
awarded  Yearling
Dec
16
reviewed Approve Filter and Order by Multiple Custom Meta Values
Dec
14
awarded  Popular Question
Dec
11
comment Page Templates Used in Custom Post Type
what is the name of the post type?
Dec
5
reviewed Approve Turning Broken URLs Into Search Terms?