function cyberchimps_page() { ?> <div id="container" <?php cyberchimps_filter_container_class(); ?> > <?php do_action('cyberchimps_before_content_container'); ?> <div id="content" <?php cyberchimps_filter_content_class(); ?> > <?php do_action('cyberchimps_before_content'); ?> <?php while (have_posts()) { the_post(); ?> <?php get_template_part('content', 'page'); ?> <?php // If comments are open or we have at least one comment, load up the comment template if (comments_open() || '0' != get_comments_number()) { comments_template('', true); } ?> <?php } // end of the loop. ?> <?php do_action('cyberchimps_after_content'); ?> </div><!-- #content --> <?php do_action('cyberchimps_after_content_container'); ?> </div><!-- #container .row-fluid--> <?php }
<?php do_action('cyberchimps_before_container'); ?> <div id="container" <?php cyberchimps_filter_container_class(); ?> > <?php do_action('cyberchimps_before_content_container'); ?> <div id="content" <?php cyberchimps_filter_content_class(); ?> > <?php do_action('cyberchimps_before_content'); ?> <?php if (have_posts()) { ?> <header class="page-header"> <h1 class="page-title"> <?php if (is_category()) {
function cyberchimps_wrapper_start() { ?> <div id="cc_woocommerce" class="container-full-width"> <div class="container"> <div class="container-fluid"> <div id="container" <?php cyberchimps_filter_container_class(); ?> > <?php do_action('cyberchimps_before_content_container'); ?> <div id="content" <?php cyberchimps_filter_content_class(); ?> > <?php do_action('cyberchimps_before_content'); }
function cyberchimps_post() { ?> <div id="container" <?php cyberchimps_filter_container_class(); ?> > <?php do_action('cyberchimps_before_content_container'); ?> <div id="content" <?php cyberchimps_filter_content_class(); ?> > <?php do_action('cyberchimps_before_content'); ?> <?php if (have_posts()) { ?> <?php while (have_posts()) { the_post(); ?> <?php get_template_part('content', get_post_format()); ?> <?php } ?> <?php } elseif (current_user_can('edit_posts')) { ?> <?php get_template_part('no-results', 'index'); ?> <?php } ?> <?php do_action('cyberchimps_after_content'); ?> </div> <!-- #content --> <?php do_action('cyberchimps_after_content_container'); ?> </div><!-- #container --> <?php }