本文整理汇总了PHP中perch_pages_navigation函数的典型用法代码示例。如果您正苦于以下问题:PHP perch_pages_navigation函数的具体用法?PHP perch_pages_navigation怎么用?PHP perch_pages_navigation使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了perch_pages_navigation函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: perch_get_css
perch_get_css();
?>
<link rel="stylesheet" href="blog.css" type="text/css" />
</head>
<body>
<header class="layout-header">
<div class="wrapper">
<div class="company-name">Perch Blog App - Company Name</div>
<img src="<?php
perch_path('feathers/quill/img/logo.gif');
?>
" alt="Your Logo Here" class="logo"/>
</div>
<nav class="main-nav">
<?php
perch_pages_navigation(array('levels' => 1));
?>
</nav>
</header>
<!-- change cols2-nav-right to cols2-nav-left if you want the sidebar on the left -->
<div class="wrapper cols2-nav-right">
<div class="primary-content">
<div class="post">
<?php
perch_blog_sections();
?>
示例2: perch_layout
<body class="service-top">
<div class="flex-container">
<?php
perch_layout('page-header');
?>
<?php
perch_content('noimage-top');
?>
<section class="monk">
<?php
perch_pages_navigation(array('from-path' => '/participate', 'hide-extensions' => true, 'levels' => 1, 'template' => 'panel-item'));
?>
</section>
<?php
perch_layout('twitter');
?>
<?php
perch_content('email-signup');
?>
<?php
perch_layout('footer');
?>
示例3: perch_pages_navigation
<body>
<div class="loader"></div>
<header>
<div class="container">
<div class="header-holder">
<div class="logo">
<a href="/" class="logo-tis">
Today I Should Ltd
</a>
</div>
<div class="mobile-menu">
<div class="line"></div>
</div>
<nav>
<?php
perch_pages_navigation(array('hide-default-doc' => true, 'hide-extensions' => true, 'template' => array('item.html', 'subitem.html')));
?>
<!-- <ul class="menu">
<li class="active"><a href="/">Home</a></li>
<li><a href="/work/"><span class="visible-md-inline visible-lg-inline">Our</span> Work</a></li>
<li><a href="/web-design/">Design</a></li>
<li><a href="/web-development/">Development</a></li>
<li><a href="/seo/" title="Search Engine Optimisation">SEO</a>
<ul><li><a href="/seo/report.html">Free SEO Report</a></li></ul></li>
<li><a href="/maintenance/">Maintenance</a></li>
<li><a href="/contact/">Contact</a></li>
<li id="search-link"><a href="#"><i class="fa fa-search"></i></a></li>
<li id="socials-link"><a href="#"><i class="fa fa-share-alt"></i></a></li>
</ul> -->
</nav>
<div class="clear"></div>
示例4: perch_pages_navigation
<link href="/images/favicon.ico" rel='shortcut icon' type='image/x-icon'>
<link href="/image/favicon.ico" rel='icon' type='image/x-icon'>
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=0, minimal-ui">
</head>
<body data-spy="scroll">
<header class="cd-header">
<nav class="navbar navbar-default" role="navigation">
<div class="container-boot">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
<div class="logo">
<img src="/perch/resources/s-logo2.png" alt="Soie de lune logo">
</div>
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<?php
perch_pages_navigation(array('levels' => 1, 'template' => 'nav.html', 'include-parent' => false, 'navgroup' => 'Fabrics'));
?>
</div>
</div><!-- /.container-fluid -->
</nav>
</header>
示例5: perch_pages_navigation
</li>
<li class="droplink"><a href="http://bdmusichub.org/participate">Participate</a>
<?php
perch_pages_navigation(array('from-path' => '/participate', 'hide-extensions' => true, 'levels' => 1, 'template' => 'dropmenu-item.html'));
?>
</li>
<li class="droplink"><a href="http://bdmusichub.org/schools">Schools</a>
<?php
perch_pages_navigation(array('from-path' => '/schools', 'hide-extensions' => true, 'levels' => 1, 'template' => 'dropmenu-item.html'));
?>
</li>
<li class="droplink"><a href="http://bdmusichub.org/projects">Projects</a>
<?php
perch_pages_navigation(array('from-path' => '/projects', 'hide-extensions' => true, 'levels' => 1, 'template' => 'dropmenu-item.html'));
?>
</li>
<li class="droplink"><a href="http://bdmusichub.org/events">Events</a>
<ul class="dropmenu">
<li><a href="http://bdmusichub.org/events">Latest Events</a></li>
<li><a href="http://bdmusichub.org/events/calendar">Calendar</a></li>
</ul>
</li>
<li><a href="http://bdmusichub.org/blog">Blog</a></li>
<li><a href="http://bdmusichub.org/contact">Contact Us</a></li>
</ul>
<ul class="socialmenu">
<li>
<a href="https://twitter.com/BDMusicHub?ref_src=twsrc%5Etfw">
示例6: perch_layout
<?php
include 'perch/runtime.php';
perch_layout('header');
?>
<title>Sitemap | Waterford Kamhlaba UWC of Southern Africa</title>
<meta name="description" itemprop="description" content="A complete sitemap of the Waterford Kamhlaba UWCSA website." />
<?php
perch_layout('navigation');
?>
<section>
<div class="cards margin-subnav margin-footer">
<div class="card-3 full-width">
<div class="card-content">
<h1>Sitemap</h1>
<?php
perch_pages_navigation(array('template' => array('sitemap1.html', 'sitemap2.html'), 'include-hidden' => true));
?>
</div>
</div>
</div>
</section>
<?php
perch_layout('footer');
示例7: perch_layout
<?php
include $_SERVER['DOCUMENT_ROOT'] . '/perch/runtime.php';
perch_layout('header');
perch_layout('meta');
perch_layout('navigation');
?>
<section class="cards margin-subnav">
<?php
perch_pages_navigation(array('levels' => 1, 'from-path' => '*', 'template' => 'section.html'));
?>
</section>
<?php
perch_layout('footer');
示例8: perch_pages_navigation
</main>
</div>
<nav id="main-menu" class="layout__main-menu js-layout__main-menu" role="navigation">
<?php
perch_pages_navigation(array('hide-default-doc' => true, 'template' => array('main_menu.html', 'main_menu_level2.html')));
?>
</nav>
<footer class="layout__footer">
<div class="layout__footer-links">
<?php
perch_pages_navigation(array('navgroup' => 'footer-links', 'levels' => 2, 'template' => array('footer-links.html')));
?>
</div>
<address class="layout__address h-card">
<p class="p-name layout__address__name">Regina Coeli Church</p>
<div class="h-adr layout__address__container">
<p class="p-street-address layout__address__item">530 Regina Parkway</p>
<p class="layout__address__item"><span class="p-locality ">Toledo</span>, <span class="p-region">OH</span> <span class="p-postal-code">43612</span></p>
</div>
<p class="layout__address__item">Phone: <span class="p-tel"><a href="tel:419-476-0922">419.476.0922</a></span></p>
<p class="layout__address__item">Fax: 419.478.5846</p>
</address>
<address class="layout__address h-card">
<p class="p-name layout__address__name">North Community Catholic School, Regina Coeli Campus</p>
<div class="h-adr layout__address__container">
<p class="p-street-address layout__address__item">600 Regina Parkway</p>
<p class="layout__address__item"><span class="p-locality">Toledo</span>, <span class="p-region">OH</span> <span class="p-postal-code">43612</span></p>
</div>
<p class="layout__address__item">Phone: <span class="p-tel"><a href="tel:419-476-0922">419.476.0920</a></span></p>
<p class="layout__address__item">Fax: 419.478.6792</p>
</address>
示例9: perch_pages_navigation
</li>
<li class="gn-tab-icon gn-tab-mobile">
<i class="gn-icon js-gn-menu icon-menu"></i>
</li>
</ul>
</div>
<!-- Main navigation -->
<div class="gn-nav">
<ul class="gn-nav-list">
<li class="gn-tab gn-desktop gn-tab-logo">
<a class="gn-logo gn-top" href="/" title="Homepage"></a>
</li>
<?php
perch_pages_navigation(array('levels' => 2, 'template' => array('globalnav.html', 'subnav.html')));
?>
<li class="gn-tab gn-desktop gn-tab-search js-gn-search">
<i class="gn-top icon-search" title="Search the website"></i>
</li>
</ul>
</div>
<!-- Search -->
<div class="gn-search gn-search-form">
<div id="js-overlay-search" class="overlay"></div>
<div class="gn-search-wrapper mv m0a">
<?php
perch_search_form();
?>
<a class="js-search-close search-close" title="Close (esc)">×</a>