Esempio n. 1
0
	<div id="primary" class="content-area">
		<main id="main" class="site-main" role="main">

		<?php 
if (have_posts()) {
    ?>

			<header class="page-header">
				<?php 
    the_archive_title('<h1 class="page-title">', '</h1>');
    the_archive_description('<div class="taxonomy-description">', '</div>');
    ?>
				<?php 
    if (function_exists('fw_ext_breadcrumbs')) {
        fw_ext_breadcrumbs('/');
    }
    ?>
			</header><!-- .page-header -->

			<?php 
    /* Start the Loop */
    while (have_posts()) {
        the_post();
        /*
         * Include the Post-Format-specific template for the content.
         * If you want to override this in a child theme, then include a file
         * called content-___.php (where ___ is the Post Format name) and that will be used instead.
         */
        get_template_part('template-parts/content', get_post_format());
    }
Esempio n. 2
0
	<section id="primary" class="content-area events-content">
		<div id="content" class="site-content" role="main">

			<?php 
if (have_posts()) {
    ?>

				<header class="archive-header">
					<h1 class="archive-title"><?php 
    printf(__('Category Events: %s', 'unyson'), single_cat_title('', false));
    ?>
</h1>
					<?php 
    if (function_exists('fw_ext_breadcrumbs')) {
        fw_ext_breadcrumbs();
    }
    ?>
					<?php 
    // Show an optional term description.
    $term_description = term_description();
    if (!empty($term_description)) {
        printf('<div class="taxonomy-description">%s</div>', $term_description);
    }
    ?>
				</header>

				<?php 
    // Start the Loop.
    while (have_posts()) {
        the_post();
Esempio n. 3
0
	<div class="container">

		<div class="row">
			<div class="col-sm-12">
				<div class="section-title-block">

				<?php 
$deals_string = $the_query->found_posts == 1 ? esc_html__('deal', 'couponhut') : esc_html__('deals', 'couponhut');
?>
				<h1 class="section-title"><?php 
echo esc_html__('Browsing', 'couponhut') . ' ' . $the_query->found_posts . ' ' . $deals_string;
?>
</h1>
				<?php 
if (function_exists('fw_ext_breadcrumbs')) {
    fw_ext_breadcrumbs('>');
}
?>
				</div>
			</div><!-- end col-sm-12 -->
		</div><!-- end row -->

		<div class="row">

			<div class="col-sm-4 col-md-3">

				<div class="single-taxonomy-wrapper">

					<?php 
if (get_field('company_logo', $acf_term)) {
    ?>