function bear_bones_woocommerce_wrapper_start() { $atts = array('extraHTML' => '<div class="woocommerce">'); bear_bones_main_start($atts); }
<?php // Exit if accessed directly if (!defined('ABSPATH')) { exit; } /** * The Template for displaying searches. * */ get_header('custom'); ?> <!-- search.php --> <?php bear_bones_main_start(); ?> <div class="search-results"> <h1>Search Results for: <span><?php echo get_search_query(); ?> </span></h1> <div class="search-again"> <h3>Search again...</h3> <?php get_template_part('tpl-search'); ?> </div> <?php get_template_part('tpl-content-list'); ?>
<?php // Exit if accessed directly if (!defined('ABSPATH')) { exit; } /** * The Template for displaying all single posts. * */ get_header('custom'); ?> <!-- single.php --> <?php bear_bones_main_start(array('tplVariable' => 'single')); //if isset, get template else get default ?> <?php get_template_part('tpl', 'content-single'); bear_bones_main_end(array('tplVariable' => 'single')); get_footer('custom');
<?php /** * The front page file (static front page) * * @link http://codex.wordpress.org/Template_Hierarchy * */ get_header('front-page'); ?> <!-- front-page.php --> <?php bear_bones_main_start(array('tplVariable' => 'front-page')); get_template_part('tpl', 'content'); bear_bones_main_end(array('tplVariable' => 'front-page')); get_footer('front-page');