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


PHP fw_ext_breadcrumbs函数代码示例

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


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

示例1: the_archive_title

	<div id="primary" class="content-area">
		<main id="main" class="site-main" role="main">

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

			<header class="page-header">
				<?php 
    the_archive_title('<h1 class="page-title">', '</h1>');
    the_archive_description('<div class="taxonomy-description">', '</div>');
    ?>
				<?php 
    if (function_exists('fw_ext_breadcrumbs')) {
        fw_ext_breadcrumbs('/');
    }
    ?>
			</header><!-- .page-header -->

			<?php 
    /* Start the Loop */
    while (have_posts()) {
        the_post();
        /*
         * Include the Post-Format-specific template for the content.
         * If you want to override this in a child theme, then include a file
         * called content-___.php (where ___ is the Post Format name) and that will be used instead.
         */
        get_template_part('template-parts/content', get_post_format());
    }
开发者ID:miloman58,项目名称:starship,代码行数:30,代码来源:archive.php

示例2: printf

	<section id="primary" class="content-area events-content">
		<div id="content" class="site-content" role="main">

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

				<header class="archive-header">
					<h1 class="archive-title"><?php 
    printf(__('Category Events: %s', 'unyson'), single_cat_title('', false));
    ?>
</h1>
					<?php 
    if (function_exists('fw_ext_breadcrumbs')) {
        fw_ext_breadcrumbs();
    }
    ?>
					<?php 
    // Show an optional term description.
    $term_description = term_description();
    if (!empty($term_description)) {
        printf('<div class="taxonomy-description">%s</div>', $term_description);
    }
    ?>
				</header>

				<?php 
    // Start the Loop.
    while (have_posts()) {
        the_post();
开发者ID:Umeeshh,项目名称:Scratch-Theme,代码行数:30,代码来源:taxonomy.php

示例3: esc_html__

	<div class="container">

		<div class="row">
			<div class="col-sm-12">
				<div class="section-title-block">

				<?php 
$deals_string = $the_query->found_posts == 1 ? esc_html__('deal', 'couponhut') : esc_html__('deals', 'couponhut');
?>
				<h1 class="section-title"><?php 
echo esc_html__('Browsing', 'couponhut') . ' ' . $the_query->found_posts . ' ' . $deals_string;
?>
</h1>
				<?php 
if (function_exists('fw_ext_breadcrumbs')) {
    fw_ext_breadcrumbs('>');
}
?>
				</div>
			</div><!-- end col-sm-12 -->
		</div><!-- end row -->

		<div class="row">

			<div class="col-sm-4 col-md-3">

				<div class="single-taxonomy-wrapper">

					<?php 
if (get_field('company_logo', $acf_term)) {
    ?>
开发者ID:chrisuehlein,项目名称:couponsite,代码行数:31,代码来源:taxonomy.php


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