* @copyright Copyright (c) 2013-2015, Arthur Gareginyan
* @link http://mycyberuniverse.com/anarcho-notepad.html
* @license http://www.gnu.org/licenses/gpl-3.0.html
*/
?>
>
cat_name; ?>
'-1' ) ); //-1 shows all posts per category. 1 to show most recent post.
while ($query->have_posts()): $query->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) {?>
- »
()