本文整理汇总了PHP中kama_breadcrumbs函数的典型用法代码示例。如果您正苦于以下问题:PHP kama_breadcrumbs函数的具体用法?PHP kama_breadcrumbs怎么用?PHP kama_breadcrumbs使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了kama_breadcrumbs函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: kama_breadcrumbs
<!--start nicdark_container-->
<div class="nicdark_container nicdark_clearfix pos_relative">
<div class="nicdark_space100"></div>
<div class="nicdark_space100"></div>
<div class="nicdark_space70"></div> <!--for header 1-->
<div class="grid grid_6">
<h1 class="white subtitle uppercase">Галерея</h1>
</div>
<div class="grid grid_6 nicdark_displaynone_responsive">
<div class="nicdark_space5"></div>
<h4 class="white right subtitle"><?php
if (function_exists('kama_breadcrumbs')) {
kama_breadcrumbs(' <span class="nicdark_marginleft10 nicdark_marginright10 grey2">|</span> ');
}
?>
</h4>
</div>
<div class="nicdark_space40"></div>
<div class="nicdark_space40"></div>
</div>
<!--end nicdark_container-->
</div>
</section>
<!--end section-->
示例2: get_header
<?php
get_header();
?>
<section class="content">
<div class="container">
<div class="row">
<div class="col md-12">
<!-- Хлебные крошки -->
<div class="breadcrumbs">
<?php
if (function_exists('kama_breadcrumbs')) {
kama_breadcrumbs();
}
?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<!-- Sidebar -->
<?php
wp_nav_menu('menu=Левое меню');
?>
</div>
<div class="col-md-9">
<?php
while (have_posts()) {
the_post();
?>
示例3: get_header
<?php
get_header();
?>
<div class="content">
<div class="navline">
<div class="contain">
<div class="navline__bg"></div>
<div class="navline__contain">
<?php
if (function_exists('kama_breadcrumbs')) {
kama_breadcrumbs(' → ');
}
?>
</div>
</div>
</div>
<div class="contain">
ghbdtn
</div>
</div>
<?php
get_footer();
示例4: get_header
<? get_header()?>
<div class="wrapper">
<div class="content">
<div class="contain">
<? get_sidebar()?>
<section class="page">
<?php
if (function_exists('kama_breadcrumbs')) {
kama_breadcrumbs(' / ');
}
?>
<!-- Имеются ли посты для отображения? -->
<div class="categorys">
<?php
if (have_posts()) {
?>
<!-- Цикл вывода постов -->
<?php
while (have_posts()) {
the_post();
?>
<a href="<?php
the_permalink();
?>
" class="toRecipe"><?php
the_title();
?>
</a>
示例5: while
while (have_posts()) {
//>************* Breadcrumbs *************
the_post();
echo "<h2>" . the_title('', '', false) . "</h2>";
the_content();
}
//while(have_posts()){
}
//if (have_posts()){ //Loop
//wp_reset_postdata(); //Restory original post data
echo "<p>Первый способ:<br> ";
if (function_exists('breadcrumbs')) {
echo breadcrumbs(' » ');
}
echo "</p>";
echo "Второй способ: ";
if (function_exists('kama_breadcrumbs')) {
kama_breadcrumbs(' » ');
}
?>
</div>
</div>
<div id=footer>
Somthing about me
</div>
<?php
wp_footer();
?>
</body>
</html>
示例6: get_re_img_src
<?php
$sep = get_re_img_src('bread-arrow.png');
if (function_exists('kama_breadcrumbs')) {
kama_breadcrumbs(' <img src="' . $sep . '"> ');
}