Example #1
0
</h1>
			</header><!-- .page-header -->

			<?php 
    // Start the loop.
    while (have_posts()) {
        the_post();
        ?>

				<?php 
        /*
         * Run the loop for the search to output the results.
         * If you want to overload this in a child theme then include a file
         * called content-search.php and that will be used instead.
         */
        get_template_part('content', 'search');
        // End the loop.
    }
    // Previous/next page navigation.
    the_pagination(array('prev_text' => __('Previous page', 'twentyfifteen'), 'next_text' => __('Next page', 'twentyfifteen'), 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __('Page', 'twentyfifteen') . ' </span>'));
    // If no content, include the "No posts found" template.
} else {
    get_template_part('content', 'none');
}
?>

		</main><!-- .site-main -->
	</section><!-- .content-area -->

<?php 
ajax_get_footer();
						<?php 
        $kindOfActs = array();
        ?>
						<?php 
        $flag = $flag == false ? true : false;
        ?>
						<?php 
    }
}
?>
						<?php 
wp_reset_postdata();
?>
					</div>
					<div class="Pagination Box--center"><?php 
the_pagination($p);
?>
</div>	
				</div>
			</div>
			<div class="Sidebar Box Box--two">
				<?php 
get_sidebar('hearings');
?>
			</div>
		</div>
	</div>
</div>

<?php 
/* Llamada al archivo <footer.php> */
Example #3
0
        ?>
</div>
						<div class="Post-excerpt Post--excerptCategory u-txt-black u-paragraph-size"> <?php 
        the_excerpt();
        ?>
</div>
						<?php 
    }
}
?>
						<?php 
wp_reset_postdata();
?>
					</div>
					<div class="Pagination Box--center"><?php 
the_pagination('');
?>
</div>	
				</div>
			</div>
			<div class="Sidebar Box Box--two">
				<?php 
get_sidebar();
?>
			</div>
		</div>
	</div>
</div>

<?php 
/* Llamada al archivo <footer.php> */