| bio | website | tomauger.com |
|---|---|---|
| location | Toronto, Canada | |
| age | ||
| visits | member for | 2 years, 2 months |
| seen | May 17 at 14:59 | |
| stats | profile views | 466 |
WordPress developer. Always learning. Hoping to contribute.
|
Jul 4 |
comment |
Alternative to query_posts for main loop? Done: codex.wordpress.org/Plugin_API/Filter_Reference/request and major cleanup codex.wordpress.org/Function_Reference/query_posts. I would appreciate if you might check to make sure I haven't made any blunders. |
|
Jun 30 |
comment |
As soon as I add a custom query_var using the filter, my pages point to an archive page - why? Okay, will do. If I get a solution that I can document, I'll follow up here for anyone else that might run into the situation. It's got to be SOMETHING. |
|
Jun 30 |
comment |
Alternative to query_posts for main loop? Thanks scribu, this is exactly what I was hoping to learn, and straight from the source, too! I'd like to update that Codex entry at some point since it seems a little scattered. I wonder whether it makes sense to include this code snippet you just included as well? Rarst's cautions are also well advised! |
|
Jun 30 |
accepted | Alternative to query_posts for main loop? |
|
Jun 29 |
awarded | Nice Question |
|
Jun 28 |
comment |
As soon as I add a custom query_var using the filter, my pages point to an archive page - why? Thanks for checking. That's what I figured as well, which is why I'm posting this question. Can anyone think of what is breaking this code? Just from your experience? |
|
Jun 28 |
asked | Alternative to query_posts for main loop? |
|
Jun 24 |
revised |
As soon as I add a custom query_var using the filter, my pages point to an archive page - why? edited title |
|
Jun 24 |
revised |
As soon as I add a custom query_var using the filter, my pages point to an archive page - why? added 172 characters in body; added 123 characters in body; edited title |
|
Jun 24 |
comment |
As soon as I add a custom query_var using the filter, my pages point to an archive page - why? I've read this and all other posts on this SE and have followed them all to the letter and my questions still remain. |
|
Jun 24 |
asked | As soon as I add a custom query_var using the filter, my pages point to an archive page - why? |
|
Jun 15 |
comment |
Complex widget form UI - examples and best practices Thanks to all who contributed, though I had rather hoped more people would get involved (I suppose a larger bounty might have done the trick - alas for my failing rep). I ended up selecting the Thickbox alternative, simply because in the end it provided the most options for keeping each section "light" and "to the point" while still accommodating a nearly unlimited number of options if necessary. Thanks again to everyone and happy 'Pressing |
|
Jun 15 |
awarded | Benefactor |
|
Jun 15 |
accepted | Complex widget form UI - examples and best practices |
|
Jun 14 |
comment |
Complex widget form UI - examples and best practices @ Azizur, good point. |
|
Jun 9 |
answered | WordPress built-in method to extract array of term IDs? |
|
Jun 9 |
comment |
WordPress built-in method to extract array of term IDs? So I rolled my own map in the meantime; still would love to know if there's an "official" way of doing things (for forward-compatibility and all that). Here's the map, using a closure (PHP 5.3+) $term_ids = array_map(function($a){return $a->term_id;}, get_the_terms($post->ID, TAXONOMY_NAME)); You could of course do this with create_function instead: $term_ids = array_map(create_function('$a','return $a->term_id;'), get_the_terms($post->ID, TAXONOMY_NAME)); for php 4+. Still, if there's a better way, I'd love to hear it! |
|
Jun 9 |
answered | Is $object_type truly required with register_taxonomy()? |
|
Jun 9 |
asked | WordPress built-in method to extract array of term IDs? |
|
Jun 9 |
comment |
Complex widget form UI - examples and best practices Interesting, thanks for this B. I was really hoping to see what can be done within the native widget dialog though, rather than resorting to a jQuery overlay. This is a great option though and one I'll keep in mind. Thanks for that! |