* @copyright Copyright (c) 2013, Arthur Gareginyan
* @link http://mycyberuniverse.tk/anarcho-notepad.html
* @license http://opensource.org/licenses/AGPL-3.0
*/
?>
>
Pages:
Posts:
'."\n".'Category: '.$cat->cat_name.'
'."\n";
echo ''."\n";
query_posts('posts_per_page=-1&cat='.$cat->cat_ID); //-1 shows all posts per category. 1 to show most recent post.
while(have_posts()): the_post();
$category = get_the_category();
//Display a post once, even if it is in multiple categories/subcategories. Lists the post in the first Category displayed.
if ($category[0]->cat_ID == $cat->cat_ID) {?>
- »
()
Archives: