<commit_before><?php
/**
 * The template for displaying archive pages
 *
 * Used to display archive-type pages if nothing more specific matches a query.
 * For example, puts together date-based pages if no date.php file exists.
 *
 * If you'd like to further customize these archive views, you may create a
 * new template file for each one. For example, tag.php (Tag archives),
 * category.php (Category archives), author.php (Author archives), etc.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage FoundationPress
 * @since FoundationPress 1.0.0
 */

get_header(); ?>
<?php 
//insert cache query
global $page;
$box_qt = 'esm_c_arcwebinar_menu_pg'.$page;
$box_q = preg_replace("/[^A-Za-z0-9_ ]/", '', $box_qt);
$local_box_cache = get_transient( $box_q );
if (false === ($local_box_cache) ){
	// start code to cache
		ob_start( );
		echo '<!-- c -->'; 
		?>
		

<?php
$webinars = new WP_Query(array(
	'post_type' => 'webinars',
	'posts_per_page' => '6',
	'tax_query' => array(
		array(

			'taxonomy' => 'status-webinars',
			'field' => 'slug',
			'terms' => 'archived-webinars',

			),

		),

		));  ?> 

		<div class="row">
			<?php get_template_part( 'parts/section-titles' ); ?>

			<!-- Row for main content area -->
			<div class="small-12 medium-12 columns" role="main">

				<h4>Recently Recorded Webinars</h4><commit_msg>Webinar Change<commit_after><?php
/**
 * The template for displaying archive pages
 *
 * Used to display archive-type pages if nothing more specific matches a query.
 * For example, puts together date-based pages if no date.php file exists.
 *
 * If you'd like to further customize these archive views, you may create a
 * new template file for each one. For example, tag.php (Tag archives),
 * category.php (Category archives), author.php (Author archives), etc.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage FoundationPress
 * @since FoundationPress 1.0.0
 */

get_header(); ?>
<?php 
//insert cache query
global $page;
$box_qt = 'esm_c_arcwebinar_menu_pg'.$page;
$box_q = preg_replace("/[^A-Za-z0-9_ ]/", '', $box_qt);
$local_box_cache = get_transient( $box_q );
if (false === ($local_box_cache) ){
	// start code to cache
		ob_start( );
		echo '<!-- c -->'; 
	

$ucwebinars = new WP_Query(array(
	'post_type' => 'webinars',
	'tax_query' => array(
		array(

			'taxonomy' => 'status-webinars',
			'field' => 'slug',
			'terms' => 'upcoming-webinars',

			),

		),

		));  ?> 

		<div class="row">
			<?php get_template_part( 'parts/section-titles' ); ?>

			<!-- Row for main content area -->
			<div class="small-12 medium-12 columns" role="main">

				<h4>Upcoming Webinars</h4>

				<br/>

				<ul class="medium-block-grid-2">

					<?php while ( $ucwebinars->have_posts() ) : $ucwebinars -> the_post(); ?>

					<li>
						<article class="row">
							
							<?php if( has_post_thumbnail()){ ?>
							<div class="small-12 medium-4 columns">
								<?php the_post_thumbnail('medium-landscape'); ?>
							</div>
							<header class="small-12 medium-8 columns">
							<?php } else { ?>
							
							<header class="small-12 medium-12 columns">

							<?php } ?>

								<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>

																<a class="button radius small" href="<?php the_permalink(); ?>">View Now</a>

								
								</header>


							</article>


						</li>

						<?php endwhile; 
						wp_reset_postdata(); ?>
					</ul>
				</div>
			</div>



<?php
$webinars = new WP_Query(array(
	'post_type' => 'webinars',
	'posts_per_page' => '6',
	'tax_query' => array(
		array(

			'taxonomy' => 'status-webinars',
			'field' => 'slug',
			'terms' => 'archived-webinars',

			),

		),

		));  ?> 

		<div class="row">
			<?php get_template_part( 'parts/section-titles' ); ?>

			<!-- Row for main content area -->
			<div class="small-12 medium-12 columns" role="main">

				<h4>Recently Recorded Webinars</h4>
{'fraction_non_alphanumeric': 0.17452357071213642, 'fraction_numerical': 0.01078234704112337, 'mean_word_length': 3.133678756476684, 'pattern_counts': {'":': 0, '<': 58, '<?xml version=': 0, '>': 77, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '366321', 'n_tokens_mistral': 1645, 'n_tokens_neox': 1377, 'n_words': 346}