10,
‘category__in’ => array( 2133 ) ,
‘category__not_in’ => array( 1042) ,
‘orderby’ => ‘date’,
‘order’ => ‘ASC’,
‘nopaging’ => 1,
);
// The Query
$the_query = new WP_Query( $args );
// The Loop
if ( $the_query->have_posts() ) {
echo ‘
- ‘;
while ( $the_query->have_posts() ) {
$the_query->the_post();
$transc = get_post_meta(get_the_ID(), “transcriptor”, true);
if ($transc) echo ‘
‘.get_the_date( $d ) . ‘ ‘ . ‘‘ . get_the_title() .’ Transcriptor: ‘ .$transc. ‘
‘ ;
else {
echo ‘
‘.get_the_date( $d ) . ‘ ‘ . ‘‘ . get_the_title() .’
‘ ;
}
}
echo ‘
‘;
}
/* Restore original Post Data */
wp_reset_postdata();
/////////////////////////
?>