本文整理汇总了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
}
}
}
示例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">
示例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,
示例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('·');
?>
</h6>
<?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
示例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">