2,632 reputation
11039
bio website
location Dallas, TX
age 32
visits member for 4 years, 1 month
seen 8 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
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
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.
Dec
11
comment Page Templates Used in Custom Post Type
what is the name of the post type?
Oct
11
comment How to List CPTs Under One Tax Term
List them how? On an archive? What are you trying that isn't working? A little more info is needed for us to help please.
Aug
18
comment OOP - from plugin add new object and call static method in another file
You have a closing parentheses next to__FILE__
Aug
6
comment Hook for image edit popup
The one to edit an image, correct?
Jul
30
comment Insert custom postmeta when custom post type published
Newer new solution.
Jul
30
comment Insert custom postmeta when custom post type published
I think its because publish_my-solution gets called whenever it gets changed to publish, even if its from publish. I'm gonna do some research on the most common transitions and make the proper changes
Jul
30
comment Insert custom postmeta when custom post type published
I've tested it with post as well as with other post types. It adds the post meta, as you wanted
Jul
30
comment Insert custom postmeta when custom post type published
Added a new solution above the old one. This one does work. Just tested
Jul
30
comment Insert custom postmeta when custom post type published
Why not use save_post_my-solutions?
Jul
26
comment How to orderby meta_value_num with dollar ($) sign
Does it order it the same way as before?
Jul
10
comment Archive Page Isn't Showing Article Excerpts
It probably has to do with the theme. For the archive pages, the theme is probably using the_content instead of the_excerpt.
Jun
22
comment Wordpress does not output “post” class when calling post_class() function
I don't think is_admin should be true for wp_ajax_nopriv_