Created
July 23, 2013 08:51
-
-
Save LaminSanneh/6060930 to your computer and use it in GitHub Desktop.
Wordpress : Loop Modify Generic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // The WordPress Loop - customized with query_posts | |
query_posts('cat=-9'); // exclude Asides category (tag_ID = 9) | |
if (have_posts()) : while (have_posts()) : the_post(); | |
... | |
endwhile; else: | |
... | |
endif; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment