[wp-hackers] Integrate URLs from custom plugins?

Boris Anthony lists.permutype at gmail.com
Fri Jun 1 22:57:14 GMT 2007


hrmm, thnx...

I think what I am missing is understanding how to find the query vars  
I specify in my updated rewrite rules, further along the line, for  
example in a is_test() function (which I call to then send WP the  
test.php template.

Again sorry if this is super basic.. I just can't seem to hook it up :(

two possible uses I am looking at:
/category/foobar/map -> full window map of posts pinned to places
/category/foobar/stats -> posting stats thingy

aaanyhoot, thnx again. :)

B.


On 1-Jun-07, at 6:40 PM, Alex Günsche wrote:

> On Fri, 2007-06-01 at 18:35 -0400, Boris Anthony wrote:
>> for now I'm just wanting to pull up template->test.php when I hit a
>> category archive with /test appended
>> e.g.: /category/foobar/test -> use test.php template
>
> Maybe this one helps:
> http://guff.szub.net/2005/07/21/post-templates-by-category/
>
>
> Or take the usual template and try the conditional functions
> in_category() and is_category() in an if-clause.
>
> Alex
>
> -- 
> Alex Günsche, Zirona OpenSource-Consulting
> http://www.zirona.com/ | Hilfe für das HQ AC: http://www.prohq.de
> PubKey for this address: http://www.zirona.com/misc/ag.ml2007.asc
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list