I already use custom query_posts to retrieve my stuff. The question is more : how do I know I have to retrieve all the articles of the custom type “news” ?
Is there any way for me to do something like
<?php if ($_GET["post_type"] == "news") {
// do something
} ?>
(I tried the code above, it doesn’t work…)
Thanks !