Example #1
0
function toolbox_post_list()
{
    rewind_posts();
    ?>
			<?php 
    if (have_posts()) {
        ?>

				<?php 
        /* Start the Loop */
        ?>
				<?php 
        while (have_posts()) {
            the_post();
            ?>

					<?php 
            /* Include the Post-Format-specific template for the content.
             * If you want to overload 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('content', get_post_format());
            ?>

				<?php 
        }
        ?>

				<?php 
        toolbox_content_nav('nav-below');
        ?>

			<?php 
    } else {
        ?>

				<article id="post-0" class="post no-results not-found">
					<header class="entry-header">
						<h1 class="entry-title"><?php 
        _e('Nothing Found', 'jan1');
        ?>
</h1>
					</header><!-- .entry-header -->

					<div class="entry-content">
						<p><?php 
        _e('It seems we can\'t find what you\'re looking for. Perhaps searching can help.', 'jan1');
        ?>
</p>
						<?php 
        get_search_form();
        ?>
					</div><!-- .entry-content -->
				</article><!-- #post-0 -->

			<?php 
    }
}
Example #2
0
        ?>

					<?php 
        /* Include the Post-Format-specific template for the content.
         * If you want to overload 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('content', get_post_format());
        ?>

				<?php 
    }
    ?>

				<?php 
    toolbox_content_nav('nav-below');
    ?>

			<?php 
} else {
    ?>

				<article id="post-0" class="post no-results not-found">
					<header class="entry-header">
						<h1 class="entry-title"><?php 
    _e('Nothing Found', 'toolbox');
    ?>
</h1>
					</header><!-- .entry-header -->

					<div class="entry-content">
Example #3
0
bloginfo('template_directory');
?>
/images/BG_LOGO.png" alt="Blank Wall" id="Background" width="60%" />
			
		<div id="primary">
			<div id="content" role="main">
				
				
				
				
			<?php 
if (have_posts()) {
    ?>

				<?php 
    toolbox_content_nav('nav-above');
    ?>

				

								</div><!-- .entry-content -->
							</article><!-- #post-0 -->

						<?php 
}
?>
			
					
			</div><!-- #content -->

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