本文整理汇总了PHP中woo_content_before函数的典型用法代码示例。如果您正苦于以下问题:PHP woo_content_before函数的具体用法?PHP woo_content_before怎么用?PHP woo_content_before使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了woo_content_before函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: woocommerce_mystile_before_content
function woocommerce_mystile_before_content()
{
?>
<!-- #content Starts -->
<?php
woo_content_before();
?>
<div class="descripcion spacing">
<div class="container">
<div class="row productos title-margin">
<div class="col-sm-4 v-mid"><hr></div>
<div class="col-sm-4"><h1 class="section-heading center">Productos</h1></div>
<div class="col-sm-4 v-mid"><hr></div>
</div>
</div>
<?php
woo_main_before();
?>
<div class="container">
<!--
<div id="content" class="col-full">
<!-- #main Starts -->
<?php
/*woo_main_before(); */
?>
<!--<div id="main" class="col-left">-->
<?php
}
示例2: woostore_before_content
function woostore_before_content()
{
?>
<!-- #content Starts -->
<?php
woo_content_before();
?>
<div id="content" class="col-full">
<!-- #main Starts -->
<?php
woo_main_before();
?>
<div id="main" class="col-left">
<?php
}
示例3: woo_projects_before_content
function woo_projects_before_content()
{
?>
<!-- #content Starts -->
<?php
woo_content_before();
?>
<div id="content" class="content-container">
<!-- #main Starts -->
<?php
woo_main_before();
?>
<div id="main">
<?php
}
示例4: woocommerce_canvas_before_content
function woocommerce_canvas_before_content()
{
?>
<!-- #content Starts -->
<?php
woo_content_before();
?>
<div id="content" class="col-full">
<div id="main-sidebar-container">
<!-- #main Starts -->
<?php
woo_main_before();
?>
<div id="main" class="col-left">
<?php
}
示例5: whitelight_before_content
function whitelight_before_content()
{
?>
<!-- #content Starts -->
<?php
woo_content_before();
?>
<div id="content">
<div class="col-full">
<?php
global $woo_options;
if ($woo_options['woo_breadcrumbs_show'] == 'true') {
woo_breadcrumbs();
}
?>
<!-- #main Starts -->
<?php
woo_main_before();
?>
<div id="main" class="col-left">
<?php
}
示例6: smpl_before_content
function smpl_before_content()
{
?>
<!-- #content Starts -->
<?php
woo_content_before();
?>
<div id="content" class="col-full">
<?php
global $woo_options;
if ($woo_options['woo_breadcrumbs_show'] == 'true') {
echo '<div id="breadcrumbs">';
woo_breadcrumbs();
echo '</div>';
}
?>
<!-- #main Starts -->
<?php
woo_main_before();
?>
<div id="main" class="col-left">
<?php
}
示例7: get_header
<?php
/*
Template Name: Blog
*/
get_header();
global $woo_options;
?>
<!-- #content Starts -->
<?php
woo_content_before();
?>
<div id="content" class="col-full">
<!-- #main Starts -->
<div id="main" class="col-left">
<?php
if (function_exists('yoast_breadcrumb')) {
yoast_breadcrumb('<div id="breadcrumb"><p>', '</p></div>');
}
?>
<?php
// WP 3.0 PAGED BUG FIX
if (get_query_var('paged')) {
$paged = get_query_var('paged');
} elseif (get_query_var('page')) {
$paged = get_query_var('page');
} else {
$paged = 1;
示例8: woocommerce_theme_before_content
function woocommerce_theme_before_content()
{
global $woo_options;
if (!isset($woo_options['woocommerce_product_columns'])) {
$columns = 'woocommerce-columns-3';
} else {
$columns = 'woocommerce-columns-' . $woo_options['woocommerce_product_columns'];
}
?>
<!-- #content Starts -->
<?php
woo_content_before();
?>
<div id="content" class="col-full <?php
echo esc_attr($columns);
?>
">
<!-- #main Starts -->
<?php
woo_main_before();
?>
<div id="main" class="col-left">
<?php
}
示例9: woo_wc_before_content
/**
* Woo Wrapper Open
* Wraps WooCommerce pages in WooTheme Markup
*/
function woo_wc_before_content()
{
global $woo_options;
?>
<!-- #content Starts -->
<?php
woo_content_before();
?>
<div id="content" class="content-container">
<!-- #main Starts -->
<?php
woo_main_before();
?>
<div id="main">
<?php
}
示例10: canvas_child_add_before_content
function canvas_child_add_before_content()
{
?>
<!-- #content Starts -->
<?php
woo_content_before();
?>
<div id="content" class="col-full">
<?php
$sidebar_hide_class = 'sidebar-show category-series';
$options = get_option('woo_sidebar_in_page');
if (!(is_product_category() && in_array(get_queried_object()->name, $options) || (is_product() || is_tax(get_object_taxonomies(WOOCOMMERCE_PRODUCT_SERIES_TAX))) && !is_product_category())) {
$sidebar_hide_class = 'sidebar-hide compact-discpage';
}
?>
<?php
/* sidebar... */
// woo_main_after();
?>
<div id="main-sidebar-container" class="<?php
echo $sidebar_hide_class;
?>
">
<!-- #main Starts -->
<?php
woo_main_before();
?>
<section id="main" class="col-left">
<?php
}