<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_arcSR_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 -->'; 
		?>

<div class="row">

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

		 <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

			<?php if(has_post_thumbnail()) {

				the_post_thumbnail();

				echo '<br><br>';
			} ?>

			<?php if(get_field('symposium_intro')) {

				the_field('symposium_intro');

			} ?>

			<?php 

				$posts = get_field('symposium_entries');

				if( $posts ): ?>

				    <ul class="small-block-grid-1 medium-block-grid-2" data-equalizer>
				    <?php foreach( $posts as $post): // variable must be called $post (IMPORTANT) ?>
				        <?php setup_postdata($post); ?>
				        <li>
				        	<div class="panel" data-equalizer-watch>
				        		<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
				        		<?php if(get_field('symposium_subhead')){
				        			echo '<h4>';
				        			the_field('symposium_subhead');
				        			echo '</h4>';
				        		} ?>
									<?php the_excerpt(); ?>

									<h6><a href="<?php the_permalink(); ?>">Read more</a></h6>
				        	</div>
				            
				        </li>
				    <?php endforeach; ?>
				    </ul>
				    <?php wp_reset_postdata(); // IMPORTANT - reset the $post object so the rest of the page works correctly ?>
				<?php endif; ?>


				<?php 

				$more = get_field('additional_entries');

				if( $more ): ?>

				<h4>Additional Commentary <?php the_title(); ?></h4>

				   
				    <?php foreach( $more as $post): // variable must be called $post (IMPORTANT) ?>
				        <?php setup_postdata($post); ?>
				       
				        		<h5><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h5>

				        		<hr>
				        						            
				        
				    <?php endforeach; ?>
				   <br>
				    <?php wp_reset_postdata(); // IMPORTANT - reset the $post object so the rest of the page works correctly ?>
				<?php endif; ?>

				<?php comments_template('/comments.php'); ?><commit_msg>update single symposium<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_arcSR_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 -->'; 
		?>

<div class="row">

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

		 <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

			<?php if(has_post_thumbnail()) {

				the_post_thumbnail();

				echo '<br><br>';
			} ?>

			<?php if(get_field('symposium_intro')) {

				the_field('symposium_intro');

			} ?>

			<?php 

				$posts = get_field('symposium_entries');

				if( $posts ): ?>

				    <ul class="small-block-grid-1 medium-block-grid-2" data-equalizer>
				    <?php foreach( $posts as $post): // variable must be called $post (IMPORTANT) ?>
				        <?php setup_postdata($post); ?>
				        <li>
				        	<div class="panel" data-equalizer-watch>
				        		<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
				        		<?php if(get_field('symposium_subhead')){
				        			echo '<h4>';
				        			the_field('symposium_subhead');
				        			echo '</h4>';
				        		} ?>
									<?php the_excerpt(); ?>

									<h6><a href="<?php the_permalink(); ?>">Read more</a></h6>
				        	</div>
				            
				        </li>
				    <?php endforeach; ?>
				    </ul>
				    <?php wp_reset_postdata(); // IMPORTANT - reset the $post object so the rest of the page works correctly ?>
				<?php endif; ?>


				<?php 

				$more = get_field('additional_entries');

				if( $more ): ?>

				<h4>Additional Commentary <?php the_title(); ?></h4>

				   
				    <?php foreach( $more as $post): // variable must be called $post (IMPORTANT) ?>
				        <?php setup_postdata($post); ?>
				       
				        		<h5><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h5>

				        		<hr>
				        						            
				        
				    <?php endforeach; ?>
				   <br>
				    <?php wp_reset_postdata(); // IMPORTANT - reset the $post object so the rest of the page works correctly ?>
				<?php endif; ?>

				<?php $withcomments = "1"; comments_template( '', true ); ?>

				<?php  ?>
{'fraction_non_alphanumeric': 0.16789194734142587, 'fraction_numerical': 0.007351684048555309, 'mean_word_length': 2.3834586466165413, 'pattern_counts': {'":': 0, '<': 116, '<?xml version=': 0, '>': 116, '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': '6738157', 'n_tokens_mistral': 2287, 'n_tokens_neox': 1845, 'n_words': 488}