GET Variables in WordPress
-
Hey guys,
I would like to know how I should handle stuff that I handled in a “normal” PHP Application with GET Variables. To be more specific, I need to know the following case.
I’ve created a “Custom Post Type” with a “Custom Taxonomy” for category. Now I would like to get all Articles of a certain category. To create the SQL query is no problem at all. My only problem is delivering the info to the certain template file which term of which taxonomy is to grab. (Which I usually would achieve by using simple GET Variables)
Example:
http://www.example.com/template.php?taxonomy=projectcategory&term=music
How can I achive this inside the permalink structure? I wouldn’t even need a in depth explanation but maybe a reference to a good article/tutorial that describes that.
Thanks in advance,
Marvin
The topic ‘GET Variables in WordPress’ is closed to new replies.