UK – Currently Incomplete Transcripts and Untranscribed Talks (transcripts in progress have been marked in red)

10,
‘category__and’ => array( 1597,1044) ,
‘orderby’ => ‘date’,
‘order’ => ‘ASC’,
‘nopaging’ => 1,

);

// The Query
$the_query = new WP_Query( $args );

echo ‘INCOMPLETE TRANSCRIPTS (‘ . $the_query->post_count . ‘):’;

// The Loop
if ( $the_query->have_posts() ) {
echo ‘

    ‘;
    while ( $the_query->have_posts() ) {
    $the_query->the_post();
    echo get_the_date( $d ) . ‘ ‘ . ‘‘ . get_the_title() .’‘ ;
    if (has_category( 2133 ) === TRUE) { echo “ – Transcription in Progress !” . “\n”;}
    else {echo “\n”;}

    }
    echo ‘

‘;
} else {
echo ‘no posts’;
// no posts found
}
/* Restore original Post Data */
wp_reset_postdata();

$args = array(
‘posts_per_page’ => 10,
‘category__and’ => array(441,1044) ,
‘orderby’ => ‘date’,
‘order’ => ‘ASC’,
‘nopaging’ => 1,

);

// The Query
$the_query = new WP_Query( $args );
echo ‘UNTRANSCRIBED TALKS (‘ . $the_query->post_count . ‘):’;

// The Loop
if ( $the_query->have_posts() ) {
echo ‘

    ‘;
    while ( $the_query->have_posts() ) {
    $the_query->the_post();

    echo get_the_date( $d ) . ‘ ‘ . ‘‘ . get_the_title() .’‘ ;
    if (has_category( 2133 ) === TRUE) { echo “ – Transcription in Progress !” . “\n”;}
    else {echo “\n”;}

    }
    echo ‘

‘;
} else {
echo ‘no posts’;
// no posts found
}
/* Restore original Post Data */
wp_reset_postdata();

?>