2,041 reputation
1948
bio website tomauger.com
location Toronto, Canada
age
visits member for 3 years, 7 months
seen Sep 10 at 18:14

WordPress developer. Always learning. Hoping to contribute.


Jul
22
comment Is it necessary to use wp_reset_query() in a WP_Query call?
Just for others reading this, since this is still the accepted answer (@Rarst's answer should be accepted). Since the OP uses the_post() in his code, best practices dictate that he must use wp_reset_postdata(). wp_reset_query() calls wp_reset_postdata(), so that will work, though the other thing wp_reset_query() does - resetting the $wp_query global variable - is not necessary, but not harmful in this case. So the answer is actually YES
Jul
22
awarded  Notable Question
Jul
11
comment Add 'title' attribute to stylesheets with wp_enqueue_style()
Yeesh. How very DIY of you! Thanks for posting your solution.
Jul
11
comment Creating a Lightweight Media Tags Plugin with a Custom Taxonomy
Ok, see the second part of my answer. Also, since you're new here, please don't forget to Accept the correct answer when you're done!
Jul
10
revised Creating a Lightweight Media Tags Plugin with a Custom Taxonomy
Added answer for second part of OP's question
Jul
10
revised Creating a Lightweight Media Tags Plugin with a Custom Taxonomy
Found problem, working on solution
Jul
10
revised Creating a Lightweight Media Tags Plugin with a Custom Taxonomy
Updated post to note that I do see one of the issues the OP mentions.
Jul
10
answered Creating a Lightweight Media Tags Plugin with a Custom Taxonomy
Jul
4
awarded  Popular Question
Jul
2
awarded  Revival
Jul
2
comment Why does get_term() require taxonomy? Are term_ids not unique?
Hi @kaiser, update it with what? I'm not sure that there has been any further positive movement toward a resolution of the Trac issues mentioned.
Jun
11
awarded  Popular Question
Jun
11
answered Multisite with a single, shared custom post type, while retaining site URL
Jun
5
comment Multisite with a single, shared custom post type, while retaining site URL
I've already been there, and that's why I created this question specifically. Thanks for the comment though.
Jun
4
awarded  Nice Question
Jun
2
awarded  Necromancer
May
28
asked Multisite with a single, shared custom post type, while retaining site URL
May
28
comment How to obfuscate theme directory URLs
Thanks @Toscho. I realize that my original question was a bit silly, considering that WordPress exposes the theme directory and URI in so many other ways. I really appreciate your link to your other post on Endpoints. Lots to learn there!
May
24
awarded  Popular Question
May
22
comment How to use taxonomies on attachments with the new Media Library?
Frank, don't forget that for attachment taxonomies, you should probably set update_count_callback to _update_generic_term_count. See updated Codex entry for why: codex.wordpress.org/Function_Reference/…