本文整理汇总了PHP中the_breadcrumb函数的典型用法代码示例。如果您正苦于以下问题:PHP the_breadcrumb函数的具体用法?PHP the_breadcrumb怎么用?PHP the_breadcrumb使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了the_breadcrumb函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: home_url
<h2>Silahkan daftar untuk mengakses halaman ini</h2> <br>
<h4><a href="' . home_url() . '/daftar/" title="Daftar">Daftar</a> atau <a href="' . home_url() . '/login" title="Login">Login</a></h4>
</div>
</div>
</div>
</div>
</div>
</div>
';
}
get_header();
?>
<article class="content">
<div class="container">
<?php
the_breadcrumb();
?>
<?php
while (have_posts()) {
the_post();
?>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h1 align="center"><?php
the_title();
?>
</h1>
</div>
<div class="col-lg-12">
<div class="row register-page">
示例2: get_header
<?php get_header(); ?>
<main class="main_wrap container">
<div class="content">
<?php the_breadcrumb(); ?>
<section class="main_publications">
<h1 class="section_title">Links Úteis</h1>
<?php
while ( have_posts() ):
the_post();
?>
<div class="main_links main_article">
<a href="<?php the_field('link'); ?>" rel="nofollow" title="Visitar o site" target="_blank">
<?php the_post_thumbnail( 'tamanho-thumbnail' ); ?>
</a>
<p class="main_link_site">
<a href="<?php the_field('link'); ?>" rel="nofollow" title="Download do arquivo" title="Download do arquivo"><?php echo get_the_content(); ?></a>
</p>
<p><?php the_title(); ?></p>
<div class="clear"></div>
</div>
<?php endwhile; ?>
<?php
if ( function_exists( 'wp_simple_pagination' ) ):
wp_simple_pagination();
endif;
?>
</section>
<div class="clear"></div>
</div>
</main>
<?php get_footer(); ?>
示例3: require_once
?>
<!-- coluna direita -->
<div class="small-13 left">
<?php
// Distribuidores oficiais
require_once (dirname(__FILE__) . '/includes/sections/distribuidores.php');
?>
<div class="divide-30"></div>
<section id="content" class="small-16 columns">
<header class="divide-20">
<p class="font-small breadcrumb no-margin">
Você está em: <?php the_breadcrumb(); ?>
<span class="right ghost"><?php echo $total; ?> resultados encontrados</span>
</p>
</header>
<nav id="list-products" class="small-16 columns">
<ul class="small-block-grid-5">
<?php
foreach ($posts as $post): setup_postdata( $post );
global $post;
$thumb = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'produtos.lista');
$th = (!empty($thumb[0])) ? $thumb[0] : get_stylesheet_directory_uri() . '/images/imagem_padrao.jpg';
?>
<li>
<figure>
<?php product_promo($post->ID); ?>
示例4: ot_get_option
if (function_exists('ot_get_option')) {
$carousel = ot_get_option('carousel');
$carouselamount = ot_get_option('carouselamount');
$singleadvert = ot_get_option('singleadvert');
if ($singleadvert == "") {
$singleadvert = '<a href="#"><img src="' . get_template_directory_uri() . '/img/single-ads.png" alt="Default Single Ads" style="display: block; visibility: visible; "/></a>';
}
}
get_header();
include "lang/lang.php";
?>
<!-- start content -->
<div class="bread"><?php
echo the_breadcrumb();
?>
</div>
<section id="content" class="content">
<!-- start single item -->
<div class="single-item">
<?php
wp_reset_query();
if (have_posts()) {
while (have_posts()) {
the_post();
?>
<div class="product-meta-data">
<h1>
<?php
the_title();
示例5: get_field
?>
.data-color { background: <?php
echo get_field('cor_fundo');
?>
; background: rgba(<?php
echo implode(',', hex2rgb(get_field('cor_fundo')));
?>
,0.9); }
<?php
}
?>
</style>
<div class="wrapper container12">
<?php
the_breadcrumb($_post);
?>
<h1>
<?php
/*if (in_array($posttype,array('casesclientes','grupo-meta'))) {
echo get_the_title($_post);
} else the_title();*/
echo $pageTitle;
?>
</h1>
</div>
</div>
</div>
<?php
$post = $_post;