當前位置: 首頁>>代碼示例>>PHP>>正文


PHP woo_breadcrumbs函數代碼示例

本文整理匯總了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;未經允許,請勿轉載。