当前位置: 首页>>代码示例>>PHP>>正文


PHP dimox_breadcrumbs函数代码示例

本文整理汇总了PHP中dimox_breadcrumbs函数的典型用法代码示例。如果您正苦于以下问题:PHP dimox_breadcrumbs函数的具体用法?PHP dimox_breadcrumbs怎么用?PHP dimox_breadcrumbs使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了dimox_breadcrumbs函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: miss_woocommerce_content

function miss_woocommerce_content()
{
    if (is_singular('product')) {
        while (have_posts()) {
            the_post();
            woocommerce_get_template_part('content', 'single-product');
        }
    } else {
        ?>

		<?php 
        if (apply_filters('woocommerce_show_page_title', true)) {
            ?>
            <div class="bread-container">
                <div class="bread-wrapper">
                    <div class="blog-title"><?php 
            woocommerce_page_title();
            ?>
</div>
                    <?php 
            dimox_breadcrumbs();
            ?>
                </div>
            </div>

		<?php 
        }
        ?>

		<?php 
        do_action('woocommerce_archive_description');
        ?>

		<?php 
        if (have_posts()) {
            ?>

			<?php 
            do_action('woocommerce_before_shop_loop');
            ?>

			<?php 
            woocommerce_product_loop_start();
            ?>

				<?php 
            woocommerce_product_subcategories();
            ?>

				<?php 
            while (have_posts()) {
                the_post();
                ?>

					<?php 
                woocommerce_get_template_part('content', 'product');
                ?>

				<?php 
            }
            // end of the loop.
            ?>

			<?php 
            woocommerce_product_loop_end();
            ?>

			<?php 
            do_action('woocommerce_after_shop_loop');
            ?>

		<?php 
        } elseif (!woocommerce_product_subcategories(array('before' => woocommerce_product_loop_start(false), 'after' => woocommerce_product_loop_end(false)))) {
            ?>

			<?php 
            woocommerce_get_template('loop/no-products-found.php');
            ?>

		<?php 
        }
    }
}
开发者ID:schiz,项目名称:scrollax,代码行数:83,代码来源:theme.php

示例2: the_title

    ?>
<div class="page_title_ctn"> 
  <div class="wrapper table_wrapper">
  <h1><?php 
    the_title();
    ?>
</h1>
  <?php 
    if ($bc !== 'no') {
        echo wpb_list_child_pages();
        ?>
     
<div id="breadcrumbs">
  <?php 
        if (function_exists('dimox_breadcrumbs')) {
            dimox_breadcrumbs();
        }
        ?>
</div>
<?php 
    }
    ?>
 
</div>
</div>
<?php 
}
do_action('__after_page_title');
?>
<div class="section def_section">
  <div class="wrapper section_wrapper">
开发者ID:anbuf,项目名称:lesecuriesdelizerne,代码行数:31,代码来源:page.php

示例3: get_header

<?php
/*
Template Name: Blog
*/
get_header();
?>
<div id="breadcumb">

	<div class="container">
		<?php if (function_exists('dimox_breadcrumbs')) dimox_breadcrumbs();?>
	</div>

</div>

<div id="inner-page">

	<div class="container" id="inner-wrapper">
	
		<?php if (get_post_meta($post->ID, 'sidebar_position', true ) =='left') { ?>
		
			<div class="one_fourth" id="sidebar">
				<?php if ( !function_exists('dynamic_sidebar') || ! generated_dynamic_sidebar('Page Sidebar') ) ; ?>
			</div>
			
			<div class="three_fourth last" id="page-content">
				 <?php
					 $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
					 $excats = get_option('ep_exclude_categories');
					 $args=array(
					    'cat'=> $excats,
					    'paged'=>$paged,
开发者ID:robbiespire,项目名称:paQui,代码行数:31,代码来源:template_blog.php

示例4: breadcrumbs

    /**
     * Displays the breadcrumbs if they are enabled
     */
    public static function breadcrumbs()
    {
        if (!self::has_breadcrumbs()) {
            return;
        }
        ?>
			<h6 id="header-breadcrumbs">
				<?php 
        dimox_breadcrumbs('&middot;');
        ?>
			</h6>
		<?php 
    }
开发者ID:amitmula,项目名称:amitandaastha.in,代码行数:16,代码来源:templates.php

示例5: the_title

		
		<br class="clear"/>
		<!-- Begin content -->
		<div id="content_wrapper">
		
			<div class="page_caption">
				<div class="caption_inner">
					<div class="caption_header">
						<h1 class="cufon"><?php 
    the_title();
    ?>
</h1>
					</div>
					<div class="pp_breadcrumbs">
						<?php 
    $bcstr = dimox_breadcrumbs();
    echo $bcstr;
    ?>
					</div>
					<br class="clear"/>
				</div>
			</div>
			
			<div class="inner">
			
				<!-- Begin main content -->
				<div class="inner_wrapper">
				
				<div class="standard_wrapper">
				<br/>
<?php 
开发者ID:ViktorLinnasaar,项目名称:hanset,代码行数:30,代码来源:page.php

示例6: is_woo

            echo '<section class="page-title"><div class="container clearfix">';
            $post_title = is_woo() ? woocommerce_page_title(false) : get_the_title();
            $page_tile = is_front_page() ? __("HOME", THEME_SLUG) : (isset($GLOBALS['wp_query']->tribe_is_event_query) ? $post_title ? $post_title : __("EVENTS", THEME_SLUG) : (is_404() ? __('404 PAGE', THEME_SLUG) : $post_title));
            echo '<h1>' . $page_tile . "</h1>";
            //echo '<h1>'' . ( is_front_page() ? __("HOME",THEME_SLUG) : get_the_title() ) . "</h1>";
            echo cws_get_option("breadcrumbs") ? is_woo() ? woocommerce_breadcrumb() : dimox_breadcrumbs() : "";
            echo '</div></section>';
        }
    }
} else {
    echo '<section class="page-title"><div class="container clearfix">';
    $post_title = is_woo() ? woocommerce_page_title(false) : get_the_title();
    $page_tile = __("Search", THEME_SLUG);
    echo '<h1>' . $page_tile . "</h1>";
    //echo '<h1>'' . ( is_front_page() ? __("HOME",THEME_SLUG) : get_the_title() ) . "</h1>";
    echo cws_get_option("breadcrumbs") ? is_woo() ? woocommerce_breadcrumb() : dimox_breadcrumbs() : "";
    echo '</div></section>';
}
if (is_front_page() && !is_search() && !isset($_GET['asearch'])) {
    $benefits_sb = cws_get_option("benefits-sidebar");
    if (!empty($benefits_sb)) {
        ob_start();
        dynamic_sidebar($benefits_sb);
        $benefits_sb_content = ob_get_clean();
        if (!empty($benefits_sb_content)) {
            ?>
					<section class="benefits <?php 
            echo $slider_type == 'video-slider' ? 'under' : '';
            ?>
">
						<div class="container">
开发者ID:evinw,项目名称:project_gg_studios,代码行数:31,代码来源:header.php


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