Passing Variable to Query_Posts via Url
-
Hi,
I’d like to create a custom link that will be broken down into the query_posts.www.mysite.com/category/name_of_category/2009/
so that wordpress parses this url to
query_posts('category_name =name_of_category&year=2009')
I’m pretty sure it would be done with
WP_Rewrite
but not quite sure how…I’d really appreciate some advice.
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Passing Variable to Query_Posts via Url’ is closed to new replies.