$wpq = array (‘taxonomy’=>’category’,’term’=>’batteries’);
$myquery = new WP_Query ($wpq);
$article_count = $myquery->post_count;
echo “

    “;
    if ($article_count){
    while ($myquery->have_posts()) : $myquery->the_post();
    echo “

  • “.$post->post_title.”
  • “;
    endwhile;
    }
    echo “

“;