• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP woo_breadcrumbs函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了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();
     }
 }
开发者ID:plusplusminus,项目名称:athol,代码行数:7,代码来源:template.php


示例2: woostore_breadcrumb

function woostore_breadcrumb()
{
    global $woo_options;
    if ($woo_options['woo_breadcrumbs_show'] == 'true') {
        woo_breadcrumbs();
    }
}
开发者ID:ericvyc,项目名称:mtp,代码行数:7,代码来源:theme-woocommerce.php


示例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 -->';
     }
 }
开发者ID:udsacode,项目名称:bird,代码行数:9,代码来源:theme-functions.php


示例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 -->';
     }
 }
开发者ID:maesson,项目名称:lyft,代码行数:14,代码来源:theme-functions.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: 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++;
        ?>
开发者ID:jaiweb,项目名称:ASP,代码行数:31,代码来源:single.php


示例8: woocommerceframework_breadcrumb

 function woocommerceframework_breadcrumb()
 {
     global $woo_options;
     if ($woo_options['woo_breadcrumbs_show'] == 'true') {
         woo_breadcrumbs();
     }
 }
开发者ID:pwillems,项目名称:mimosa-contents,代码行数:7,代码来源:theme-woocommerce.php


示例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>');
开发者ID:rongandat,项目名称:sallumeh,代码行数:31,代码来源:template-shopping.php


示例10: woostore_breadcrumb

function woostore_breadcrumb()
{
    if (wootique_get_woo_option('woo_breadcrumbs_show') == 'true') {
        woo_breadcrumbs();
    }
}
开发者ID:jarqo,项目名称:wootique,代码行数:6,代码来源:theme-woocommerce.php


示例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();
     }
 }
开发者ID:plusplusminus,项目名称:athol,代码行数:7,代码来源:template.php


示例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 
        }
    }
开发者ID:googlecode-mirror,项目名称:wpmu-demo,代码行数:57,代码来源:theme-functions.php



注:本文中的woo_breadcrumbs函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP woo_ce_get_option函数代码示例发布时间:2022-05-23
下一篇:
PHP woo_active_sidebar函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap