Ejemplo n.º 1
0
    /**
     * Before Content
     * Wraps all WooCommerce content in wrappers which match the theme markup
     * @since   2.2.6
     * @return  void
     */
    function odin_before_content()
    {
        ?>
		<main id="content" class="<?php 
        echo odin_classes_page_sidebar();
        ?>
" tabindex="-1" role="main">
		<?php 
    }
Ejemplo n.º 2
0
    /**
     * Before Content
     * Wraps all WooCommerce content in wrappers which match the theme markup
     * @since   2.2.6
     * @return  void
     */
    function odin_before_content()
    {
        ?>
		<div id="primary" class="<?php 
        echo odin_classes_page_sidebar();
        ?>
">
			<main id="main-content" class="site-main" role="main">
		<?php 
    }
Ejemplo n.º 3
0
    /**
     * Before Content
     * Wraps all WooCommerce content in wrappers which match the theme markup
     * @since   2.2.6
     * @return  void
     */
    function odin_before_content()
    {
        global $post;
        $product = wc_get_product($post->ID);
        if (is_singular() && is_object($product) && $product->is_type('yith_bundle')) {
            ?>
			<main id="content" class="col-md-10" tabindex="-1" role="main">
		<?php 
        } elseif (is_singular()) {
            ?>
			<main id="content" class="<?php 
            echo odin_classes_page_sidebar();
            ?>
" tabindex="-1" role="main">
		<?php 
        } else {
            ?>
			<main id="content" class="col-md-12" tabindex="-1" role="main">
		<?php 
        }
    }
Ejemplo n.º 4
0
        
        top: auto !important;
    }
}
img[Attributes Style] {
  width: 100%;
  height: 441px;
}
.responsive-image{width: 105% !important; height:auto;}
h1{font-size:x-large !important;}
</style>


<!-- main content -->
<div id="primary" class="<?php 
echo odin_classes_page_sidebar();
?>
">
 <div class="col offset-l1 l10 s12 white z-depth-1">
    <div class="row">
        <div class="col l9 ">
           

          	<?php 
// Start the Loop.
while (have_posts()) {
    the_post();
    ?>
                	<?php 
    if (is_single()) {
        the_title('<h1 class="entry-title">', '</h1>');
/**
 * WooCommerce and Jigoshop content wrapper.
 *
 * @since  2.2.0
 *
 * @return void
 */
function odin_woocommerce_jigoshop_content_wrapper()
{
    echo '<div id="primary" class="' . odin_classes_page_sidebar() . '">';
}