Exemplo n.º 1
0
/**
 * Prints title( WooCommerce Product )
 */
function grve_print_product_header_title($mode = '')
{
    $page_title_extra_class = '';
    if (grve_check_title_visibility()) {
        if ('taxonomy' == $mode) {
            $page_title_height = grve_option('product_tax_title_height', '350');
            $page_title_alignment = grve_option('product_tax_title_alignment', 'center');
            $page_title_color = grve_option('product_tax_title_color', 'light');
            $page_title_extra_class = 'grve-product-tax-title';
            $bg_image = 'product_tax_title_background';
        } else {
            $page_title_height = grve_option('product_title_height', '350');
            $page_title_alignment = grve_option('product_title_alignment', 'center');
            $page_title_color = grve_option('product_title_color', 'light');
            $bg_image = 'product_title_background';
        }
        $header_data = grve_header_title();
        $header_title = isset($header_data['title']) ? $header_data['title'] : '';
        ?>
	<!-- Product Title -->
	<div id="grve-product-title" class="grve-align-<?php 
        echo esc_attr($page_title_alignment);
        ?>
 <?php 
        echo esc_attr($page_title_extra_class);
        ?>
" style="height:<?php 
        echo esc_attr($page_title_height);
        ?>
px;">
		<div id="grve-product-title-content" data-height="<?php 
        echo esc_attr($page_title_height);
        ?>
">
			<?php 
        do_action('grve_product_title_top');
        ?>
			<div class="grve-container">
				<h1 class="grve-title grve-<?php 
        echo esc_attr($page_title_color);
        ?>
"><span><?php 
        echo $header_title;
        ?>
</span></h1>
			</div>
			<?php 
        do_action('grve_product_title_bottom');
        ?>
		</div>
		<?php 
        grve_print_title_bg_image_container($bg_image);
        ?>
	</div>
	<!-- End Product Title -->
<?php 
    }
}
Exemplo n.º 2
0
                      </div>
                  No HTML5 audio playback capabilities for this browser. Use <a href="https://www.google.com/intl/en/chrome/browser/">Chrome Browser!</a>    
                    </audio>     
                    </div>             
	           </div>
-->
				<div class="grve-container">

				<?php 
grve_print_footer_widgets();
?>
				<?php 
grve_print_footer_bar();
?>

				</div>
				<?php 
grve_print_title_bg_image_container('footer_background');
?>
			</footer>

		</div> <!-- end #grve-theme-wrapper -->

		<?php 
wp_footer();
// js scripts are inserted using this function
?>

	</body>

</html>