本文整理汇总了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
}
开发者ID:jonpalma,项目名称:bcc,代码行数:31,代码来源:theme-woocommerce.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
}
开发者ID:rongandat,项目名称:sallumeh,代码行数:16,代码来源:theme-woocommerce.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
}
开发者ID:danmaby,项目名称:VAT,代码行数:17,代码来源:template.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
}
开发者ID:pwillems,项目名称:mimosa-contents,代码行数:18,代码来源:theme-woocommerce.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
}
开发者ID:jaiweb,项目名称:ASP,代码行数:22,代码来源:theme-woocommerce.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
}
开发者ID:jospintedjou,项目名称:wordpress,代码行数:23,代码来源:theme-woocommerce.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;
开发者ID:marcus7777,项目名称:eh-theme,代码行数:31,代码来源:template-blog.php
示例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
}
开发者ID:sanjeevpraja,项目名称:wordpress-theme,代码行数:26,代码来源:theme-woocommerce.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
}
开发者ID:udsacode,项目名称:bird,代码行数:22,代码来源:template.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
}
开发者ID:abcode619,项目名称:wpstuff,代码行数:34,代码来源:functions_add_custom_field_category.php
注:本文中的woo_content_before函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论