140 reputation
10
bio website example.com
location Massachusetts
age
visits member for 1 year, 5 months
seen Oct 7 '13 at 18:30

I live. I do stuff. That's what makes me unique.


Oct
5
awarded  Popular Question
May
5
awarded  Teacher
Apr
24
awarded  Supporter
Apr
20
accepted How to use WP_Query in a CPT achive page?
Apr
20
comment How to use WP_Query in a CPT achive page?
Thanks, @JohannesPille. I'd certainly vote you up if I had that ability yet.
Apr
20
comment How to use WP_Query in a CPT achive page?
Thanks, Milo! Fixing the typo resolves one mystery, and hooking pre_get_posts fixes my larger problem (I've just posted my function above for future readers). One further question, if you don't mind: you say that I'm altering the parameters of the main query; then why does the function stop working when I require is_main_query() in the conditional? I appreciate your help.
Apr
20
revised How to use WP_Query in a CPT achive page?
added code for resolving bigger problem
Apr
20
asked How to use WP_Query in a CPT achive page?
Apr
5
awarded  Analytical
Apr
5
awarded  Informed
Apr
5
awarded  Autobiographer
Apr
3
awarded  Commentator
Apr
3
comment How can I update options with javascript?
Thanks, Milo. The link is helpful and the first example looks like it will help me do what I need. But the technique is a blackbox recipe. Where can I find an explanation of what's actually going on?
Apr
3
asked How can I update options with javascript?
Mar
24
comment How can I disable parent menu item links?
The link wasn't to the plug-in, toscho, but to a simple, 'by-hand' way to replace it in making a non-clickable menu item. Seems to produce the same effect as your code. I'd like to give you credit for your work, but I can only choose yours as the correct answer if you somehow justify its superiority over the simple way.
Mar
24
comment How can I disable parent menu item links?
Thanks for your lengthy reply, toscho. You put a lot of work into it I can see. Actually, the answer in the link I posted says to remove the hash symbol, so there's no hash symbol in the link that appears in the menu: it becomes a link without an href, i.e., no URL, fake or otherwise. Since your solution seems to depend on evacuating the href as well, I wonder how it is better for screen-readers. Is your walker worthwhile?
Mar
24
comment How can I disable parent menu item links?
Actually if you read carefully, that solution says to remove the hash symbol, so there's no hash symbol in the link.
Mar
24
revised How can I disable parent menu item links?
Cleaned up the ending, which is no longer applicable
Mar
24
revised How to implement bulk actions in my plugin?
corrected punctuation
Mar
24
revised Custom bulk action for media gallery items
added 2375 characters in body