コード例 #1
0
 *
 * Tip: to remove the sidebar from all posts and pages simply remove
 * any active widgets from the Main Sidebar area, and the sidebar will
 * disappear everywhere.
 *
 * @package WordPress
 * @subpackage Twenty_Twelve
 * @since Twenty Twelve 1.0
 */

get_header(); ?>

<div class="navi">
  <div class="navi1">
    <div class="navi2">
      <?php if (function_exists('wordpress_breadcrumbs')) wordpress_breadcrumbs(); ?>
    </div>
  </div>
</div>
<?php
			$args = array(
                 'post_type'=>'all_plans'
            );

            $i = 1;
			global $more; 

			query_posts( $args ); 

			while (have_posts()) : the_post(); 
コード例 #2
0
    $root = count($ancestors) - 1;
    $parent = $ancestors[$root];
    echo '<h2 class="section-title">' . get_the_title($parent) . '</h2>';
} else {
    the_title('<h2 class="section-title">', '</h2>');
}
?>
			
		</header><!-- .entry-header 
	</div><!-- .container -->
	
	<div class="wrapper crumbs">
		<div class="container">
			<div class="breadcrumbs">
				<?php 
wordpress_breadcrumbs();
?>
			</div><!-- .breadcrumbs -->
		</div>
	</div>
<div class="container">
	<div class="section">
		<div class="col two-thirds">
	<div class="entry-content">
		
			<?php 
// check if the flexible content field has rows of data
if (have_rows('content')) {
    // loop through the rows of data
    while (have_rows('content')) {
        the_row();