本文整理汇总了PHP中woo_breadcrumbs函数的典型用法代码示例。如果您正苦于以下问题:PHP woo_breadcrumbs函数的具体用法?PHP woo_breadcrumbs怎么用?PHP woo_breadcrumbs使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了woo_breadcrumbs函数的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: sensei_breadcrumbs
function sensei_breadcrumbs()
{
global $woo_options;
if (isset($woo_options['woo_breadcrumbs_show']) && 'true' == $woo_options['woo_breadcrumbs_show']) {
woo_breadcrumbs();
}
}
示例2: woostore_breadcrumb
function woostore_breadcrumb()
{
global $woo_options;
if ($woo_options['woo_breadcrumbs_show'] == 'true') {
woo_breadcrumbs();
}
}
示例3: woo_display_breadcrumbs
function woo_display_breadcrumbs()
{
global $woo_options;
if (isset($woo_options['woo_breadcrumbs_show']) && $woo_options['woo_breadcrumbs_show'] == 'true' && !is_home()) {
echo '<section id="breadcrumbs" class="content-container-fullwidth">';
woo_breadcrumbs();
echo '</section><!--/#breadcrumbs -->';
}
}
示例4: woo_display_breadcrumbs
function woo_display_breadcrumbs()
{
global $woo_options;
if (is_home()) {
return;
}
if (isset($woo_options['woo_breadcrumbs_show']) && $woo_options['woo_breadcrumbs_show'] == 'true') {
echo '<section id="breadcrumbs">';
echo '<div class="wrapper">';
woo_breadcrumbs();
echo '</div><!--/.wrapper -->';
echo '</section><!--/#breadcrumbs -->';
}
}
示例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: array
* Setup default variables, overriding them if the "Theme Options" have been saved.
*/
$settings = array('thumb_single' => 'false', 'thumb_w' => 710, 'thumb_h' => 180, 'thumb_align' => 'alignleft');
$settings = woo_get_dynamic_values($settings);
?>
<div id="content">
<div class="col-full">
<?php
if (isset($woo_options['woo_breadcrumbs_show']) && $woo_options['woo_breadcrumbs_show'] == 'true') {
?>
<section id="breadcrumbs">
<?php
woo_breadcrumbs();
?>
</section><!--/#breadcrumbs -->
<?php
}
?>
<section id="main" class="col-left">
<?php
if (have_posts()) {
$count = 0;
while (have_posts()) {
the_post();
$count++;
?>
示例8: woocommerceframework_breadcrumb
function woocommerceframework_breadcrumb()
{
global $woo_options;
if ($woo_options['woo_breadcrumbs_show'] == 'true') {
woo_breadcrumbs();
}
}
示例9: the_title
<div class="body-content">
<?php
if (have_posts()) {
$count = 0;
?>
<h1 class="detal"><?php
the_title();
?>
</h1>
<?php
$args = array('separator' => '/', 'show_posts_page' => FALSE);
?>
<?php
woo_breadcrumbs($args);
?>
</nav>
<?php
while (have_posts()) {
the_post();
$count++;
?>
<?php
the_content();
?>
<?php
edit_post_link(__('{ Edit }', 'woothemes'), '<span class="small">', '</span>');
示例10: woostore_breadcrumb
function woostore_breadcrumb()
{
if (wootique_get_woo_option('woo_breadcrumbs_show') == 'true') {
woo_breadcrumbs();
}
}
示例11: woo_projects_breadcrumbs
function woo_projects_breadcrumbs()
{
global $woo_options;
if (isset($woo_options['woo_breadcrumbs_show']) && $woo_options['woo_breadcrumbs_show'] == 'true') {
woo_breadcrumbs();
}
}
示例12: woo_display_top_section
function woo_display_top_section()
{
global $woo_options, $post;
$title = '';
if (is_category()) {
$title = __('Archive', 'woothemes') . ' | ' . single_cat_title('', false);
} elseif (is_day()) {
$title = __('Archive', 'woothemes') . ' | ' . get_the_time(get_option('date_format'));
} elseif (is_month()) {
$title = __('Archive', 'woothemes') . ' | ' . get_the_time('F, Y');
} elseif (is_year()) {
$title = __('Archive', 'woothemes') . ' | ' . get_the_time('Y');
} elseif (is_author()) {
$title = __('Archive by Author', 'woothemes');
} elseif (is_tag()) {
$title = __('Tag Archives', 'woothemes') . ' | ' . single_tag_title('', false);
} elseif (is_search()) {
$title = __('Search Results', 'woothemes');
} elseif (is_single() && get_post_type($post->ID) == "post") {
$title = __('Blog', 'woothemes');
} else {
$title = get_the_title();
}
if (is_woocommerce_activated()) {
if (is_product() || is_shop() || is_product_category() || is_product_tag()) {
$title = __('Shop', 'woothemes');
}
}
?>
<?php
if (!is_home()) {
?>
<section id="top-section">
<div class="col-full">
<header>
<h1><?php
echo $title;
?>
</h1>
<?php
if (isset($woo_options['woo_breadcrumbs_show']) && $woo_options['woo_breadcrumbs_show'] == 'true') {
?>
<div id="breadcrumbs">
<?php
woo_breadcrumbs();
?>
</div>
<?php
}
?>
</header>
</div><!--/.col-full -->
</section><!--/#top-section -->
<?php
}
}