Training Archives

‘;
$args = array(
‘post_type’ => ‘ai1ec_event’,
‘tag_ID’ => ’21’,
‘posts_per_page’ => 999,
‘order’ => ‘ASC’,
‘orderby’ => ‘date’,
‘year’ => $current_year,
‘monthnum’ => $current_month
);

// The Query
query_posts( $args );

// The Loop
while ( have_posts() ) : the_post();
echo ‘

‘;
$args = array(
‘post_type’ => ‘ai1ec_event’,
‘tag_ID’ => ’21’,
‘posts_per_page’ => 999,
‘order’ => ‘ASC’,
‘orderby’ => ‘date’,
‘year’ => $mone_year,
‘monthnum’ => $mone_month_padded
);

// The Query
query_posts( $args );

// The Loop
while ( have_posts() ) : the_post();
echo ‘

‘;
$args = array(
‘post_type’ => ‘ai1ec_event’,
‘tag_ID’ => ’21’,
‘posts_per_page’ => 999,
‘order’ => ‘ASC’,
‘orderby’ => ‘date’,
‘year’ => $mtwo_year,
‘monthnum’ => $mtwo_month_padded
);

// The Query
query_posts( $args );

// The Loop
while ( have_posts() ) : the_post();
echo ‘

‘;
$args = array(
‘post_type’ => ‘ai1ec_event’,
‘tag_ID’ => ’21’,
‘posts_per_page’ => 999,
‘year’ => $mthree_year,
‘order’ => ‘ASC’,
‘orderby’ => ‘date’,
‘monthnum’ => $mthree_month_padded
);

// The Query
query_posts( $args );

// The Loop
while ( have_posts() ) : the_post();
echo ‘