示例#1
0
?>
<div id="scrollbar">
	<div id="primary" class="viewport" data-horizontal-scroll="on">
		<div id="content" class="overview" role="main">
			<?php 
while ($village_query->have_posts()) {
    // Setup the_post
    $village_query->the_post();
    get_template_part('horizontal/loop-horizontal-entry');
}
// endwhile
// Clean up
Horizontal_Entry::clean_up();
?>

			<?php 
village_pagination($village_query);
?>
		</div>
		<!-- #content -->

	</div>
	<!-- #primary -->

	<div class="scrollbar">
		<div class="track">
			<div class="thumb"></div>
		</div>
	</div>

</div> <!-- #scrollbar -->
">
						
						<?php 
            get_template_part('templates/parts/page', $template_name);
            ?>
						

						</div>
					<?php 
        }
        ?>


			<?php 
    }
    village_pagination($query);
    wp_reset_query();
    ?>
			<?php 
} else {
    ?>

				<?php 
    get_template_part('no-results', 'index');
    ?>

			<?php 
}
?>

			</div><!-- #content -->
示例#3
0
				<?php 
    }
    ?>


				<?php 
    while (have_posts()) {
        the_post();
        get_template_part('horizontal/loop-horizontal-entry');
    }
    // Clean up
    Horizontal_Entry::clean_up();
    ?>
				<?php 
    village_pagination();
    ?>
			</div>
			<!-- #content -->

		</div>
		<!-- #primary -->

		<div class="scrollbar">
			<div class="track">
				<div class="thumb"></div>
			</div>
		</div>

	</div> <!-- #scrollbar -->
<?php