Пример #1
0
business_before_404();
?>
      		<!-- Begin @business before_404 hook content-->
		
      		<!-- Begin @business 404 hook content-->
      			<?php 
business_404();
?>
      		<!-- Begin @business 404 hook content-->
      		
      		<!-- Begin @business after_404 hook content-->
      			<?php 
business_after_404();
?>
      		<!-- Begin @business after_404 hook content-->
      		
		</div><!--end content_padding-->
	</div><!--end content_left-->
	
	<!--Begin @business after content sidebar hook-->
		<?php 
business_after_content_sidebar();
?>
	<!--End @business after content sidebar hook-->
	
</div><!--end content_wrap-->
	</div><!--end row-->
</div><!--end container-->

<?php 
get_footer();
Пример #2
0
/**
* Index content
*
* @since 1.0
*/
function business_post_content()
{
    global $options, $themeslug, $post, $sidebar, $content_grid;
    // call globals
    ?>
	
	<!--Begin @business sidebar init-->
		<?php 
    business_sidebar_init();
    ?>
	<!--End @business sidebar init-->
	<div class="container">
	<div class="row">
	<!--Begin @business before content sidebar hook-->
		<?php 
    business_before_content_sidebar();
    ?>
	<!--End @business before content sidebar hook-->

		<div id="content" class="<?php 
    echo $content_grid;
    ?>
">
		
			<?php 
    if (have_posts()) {
        while (have_posts()) {
            the_post();
            ?>
			
			<div class="post_container">
				<div <?php 
            post_class();
            ?>
 id="post-<?php 
            the_ID();
            ?>
">
		
				<!--Begin @business index loop hook-->
					<?php 
            business_loop();
            ?>
				<!--End @business index loop hook-->
							
				</div><!--end post_class-->
			</div><!--end post container-->
			
			<?php 
            if (is_attachment()) {
                ?>
			
			<div id="image_pagination">
				<div class="image_wrap">
					<div class="previous_image"> <?php 
                previous_image_link(array(100, 1000));
                ?>
</div>
					<div class="next_image"><?php 
                next_image_link(array(100, 100));
                ?>
</div>
				</div>
			</div>
			<?php 
            }
            ?>
			
			<?php 
            if (is_single() && $options->get($themeslug . '_post_pagination') == "1") {
                ?>
				<!--Begin @business post pagination hook-->
					<?php 
                business_post_pagination();
                ?>
				<!--End @business post pagination hook-->			
				<?php 
            }
            ?>
			
			<?php 
            if (is_single()) {
                ?>
				<?php 
                comments_template();
                ?>
			<?php 
            }
            ?>
			
			<?php 
        }
        ?>
		
			<?php 
    } else {
        ?>

				<h2>Not Found</h2>

			<?php 
    }
    ?>
			
			<!--Begin @business pagination hook-->
			<?php 
    bu_custom_pagination();
    ?>
			<!--End @business pagination loop hook-->
		
		</div><!--end row-->
		
	<!--Begin @business after content sidebar hook-->
		<?php 
    business_after_content_sidebar();
    ?>
	<!--End @business after content sidebar hook-->
	</div><!--end container-->

</div>
<?php 
}
Пример #3
0
/**
* Sets up the page content. 
*
* @since 1.0
*/
function business_page_section_content()
{
    global $options, $themeslug, $post, $sidebar, $content_grid;
    business_sidebar_init();
    $hidetitle = get_post_meta($post->ID, 'hide_page_title', true);
    ?>
<div class="row">
	<!--Begin @business before content sidebar hook-->
		<?php 
    business_before_content_sidebar();
    ?>
	<!--End @business before content sidebar hook-->
			
		<div id="content" class="<?php 
    echo $content_grid;
    ?>
">
		
			<?php 
    if (have_posts()) {
        while (have_posts()) {
            the_post();
            ?>
		
			<div class="post_container">
			
				<div class="post" id="post-<?php 
            the_ID();
            ?>
">
				<?php 
            if ($hidetitle == "on" or $hidetitle == '') {
                ?>
				
					<h2 class="posts_title"><?php 
                the_title();
                ?>
</h2>
						<?php 
            }
            ?>

					<div class="entry">

						<?php 
            the_content();
            ?>
						
					</div><!--end entry-->
					
					<?php 
            wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number'));
            ?>


				<?php 
            edit_post_link('Edit', '<p>', '</p>');
            ?>

				</div><!--end post-->
		
			<?php 
            comments_template();
            ?>

			<?php 
        }
    }
    ?>
			</div><!--end post_container-->
				
	</div><!--end content_left-->
	
	<!--Begin @business after content sidebar hook-->
		<?php 
    business_after_content_sidebar();
    ?>
	<!--End @business after content sidebar hook-->
</div>
<?php 
}