Sitemap

“.$cat->cat_name.”

“;
echo “

    “;
    $archive_query = new WP_Query(‘posts_per_page=-1&order=asc&orderby=title&cat=’.$cat->cat_ID);
    while ($archive_query->have_posts()) { $archive_query->the_post();
    $category = get_the_category();
    echo ‘

  1. ‘.get_the_title().’
  2. ‘;
    }
    echo “

“;
}
?>