本文整理汇总了PHP中perch_layout函数的典型用法代码示例。如果您正苦于以下问题:PHP perch_layout函数的具体用法?PHP perch_layout怎么用?PHP perch_layout使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了perch_layout函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: perch_blog_categories
<li><a class="lnk__icn appnav icn__start homelink" href="/blog">Startseite</a></li>
<li><?php
perch_blog_categories();
?>
</li>
<li class="moremenu-items"><?php
perch_blog_date_archive_years();
?>
</li>
<li><a class="lnk__icn appnav icn__suche" href="/blog/suche">Suche</a>
<?php
perch_search_form();
?>
</li>
<li><?php
perch_layout('blog.links');
?>
</li>
<li id="moremenu-link"><a class="lnk__icn appnav icn__mehr" href="/blog/mehr">mehr</a></li>
<li class="moremenu-items"><?php
perch_blog_tags();
?>
</li>
<li class="moremenu-items"><?php
perch_layout('blog.infos');
?>
</li>
</ul>
</nav>
<main>
示例2: perch_layout
<?php
include 'perch/runtime.php';
perch_layout('global.header');
perch_gallery_album_details(perch_get('s'), array('template' => 'bespoke_designer_details.html'));
perch_gallery_album_images(perch_get('s'), array('template' => 'bespoke_designer_gallery.html'));
perch_layout('global.footer', array('activePage' => 'contact'));
?>
示例3: perch_layout
<?php
include 'perch/runtime.php';
?>
<?php
perch_layout('header');
$lang = PerchSystem::get_var('lang');
?>
<body>
<?php
if ($lang == 'it') {
?>
<h1>Ciao!</h1>
<?php
} else {
?>
<h1>Hello!</h1>
<?php
}
?>
<?php
perch_content('Main content - ' . $lang);
?>
</body>
</html>
示例4: perch_search_form
<use xlink:href="#tel-icon" />
</svg>
<span>01254 666444</span>
</a>
<a class="search-reveal" href="#">
<svg class="icon-hover">
<use xlink:href="#search-icon" />
</svg>
</a>
<div class="menu-diddy menu-icon">
<svg>
<use xlink:href="#menu-icon" />
</svg>
</div>
</div>
</header>
<div class="search">
<div id="pattern" class="pattern">
<?php
perch_search_form();
?>
</div>
</div>
<?php
perch_layout('main-nav');
?>
示例5: perch_content
?>
<div class="row">
<div class="twelve columns inset-white">
<h1 class="handwritten"><?php
perch_content('Whats New Page Title');
?>
</h1>
<?php
perch_content('Whats New Page Main Copy');
?>
</div>
</div>
<!-- Bespoke albums show here -->
<?php
perch_gallery_albums(array('template' => 'new_season_album.html', 'filter' => 'category', 'match' => 'eq', 'value' => 'new-season'));
?>
<?php
perch_layout('global.footer', array('activePage' => 'new-season'));
?>
示例6: perch_layout
</div>
<div class="footer__column">
<h3>Conversations</h3>
<nav class="icon-nav">
<ul>
<li><a href="http://twitter.com/perchdio"><?php
perch_layout('icons/circle-icon--twitter');
?>
</a></li>
<li><a href="https://www.youtube.com/channel/UCnXiQiwhLY3wLlBvCsCg3Rg"><?php
perch_layout('icons/circle-icon--youtube');
?>
</a></li>
<li><a href="mailto:hello@perchd.io"><?php
perch_layout('icons/circle-icon--mail');
?>
</a></li>
</ul>
</nav>
</div>
</div>
<hr />
<div class="outer-container">
<div class="copyright-notice">
<p>© 2015 amillionmonkeys Ltd. Site designed by <a href="http://www.sarahevansdesign.co.uk/">Sarah Evans</a> and built by <a href="http://amillionmonkeys.co.uk">amillionmonkeys</a>.<br />
Trademarks and brands are the property of their respective owners.</p>
示例7: perch_layout
<?php
include $_SERVER['DOCUMENT_ROOT'] . '/perch/runtime.php';
perch_layout('blog.header');
perch_content('Datenschutz');
perch_layout('blog.footer');
示例8: perch_gallery_album_field
perch_gallery_album_field(perch_get('s'), 'albumTitle');
?>
&body=https://waterford.sz/news/photos/album.php?s=<?php
perch_gallery_album_field(perch_get('s'), 'albumSlug');
?>
"><i class="icon-email"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
<section>
<div class="cards">
<header class="fp-header-ctnr">
<h1 class="float-left medium blue">Latest photos</h1>
<p class="small"><a class="float-right link margin-top-05" href="/news/photos/">All latest photos ›</a></p>
</header>
<?php
perch_gallery_albums(array('count' => 4, 'template' => 'album_recent.html', 'sort' => 'albumOrder', 'sort-order' => 'DESC', 'image' => true));
?>
</div>
</section>
<div class="article-background"></div>
<?php
perch_layout('footer');
?>
示例9: perch_content
<?php
perch_content('About Us Left Column Image');
?>
</div>
<div class="six columns">
<?php
perch_content('About Us Right Column Image 1');
?>
<?php
perch_content('About Us Right Column Image 2');
?>
<?php
perch_content('About Us Right Column Copy');
?>
</div>
</div>
</div>
<?php
perch_layout('global.footer', array('activePage' => 'about-us'));
?>
示例10: perch_content
));
}
*/
?>
</div>
</div>
<div class="three columns">
<?php
perch_content('Blog Inlink Panels');
?>
</div>
</div>
</div>
</div>
</div>
<?php
perch_layout('global.footer', array('activePage' => 'blog'));
示例11: perch_layout
<script src="<?php
Common::version_file('/js/public.min.js');
?>
"></script>
<?php
perch_layout('global.analytics', ['analytics_id' => GOOGLE_ANALYTICS_ID]);
示例12: perch_layout
<i class="icon-nav__icon"><?php
perch_layout('icons/circle-icon--gallery');
?>
</i>
<h5 class="icon-nav__title">Powered by Perch Gallery ></h5>
</a></li>
<li><a href="#">
<i class="icon-nav__icon"><?php
perch_layout('icons/circle-icon--code');
?>
</i>
<h5 class="icon-nav__title">Code Snippets ></h5>
</a></li>
<li><a href="#">
<i class="icon-nav__icon"><?php
perch_layout('icons/circle-icon--links');
?>
</i>
<h5 class="icon-nav__title">Handy Links ></h5>
</a></li>
<li><a href="#">
<i class="icon-nav__icon"><?php
perch_layout('icons/circle-icon--videos');
?>
</i>
<h5 class="icon-nav__title">Videos ></h5>
</a></li>
</ul>
</nav>
</div>
</div>
示例13: perch_layout
<?php
include $_SERVER['DOCUMENT_ROOT'] . '/cms/runtime.php';
perch_layout('global-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_section(perch_get('s'));
?>
<?php
perch_blog_custom(['section' => perch_get('s')]);
?>
</div>
</div>
<nav class="sidebar">
<h2>Filter archive</h2>
<!-- By category listing -->
<?php
perch_blog_categories(array('section' => perch_get('s')));
?>
示例14: perch_layout
<aside class="sidebar">
<div class="widget widget--twitter">
<div class="widget__header">
<div class="widget__title"><h3><?php
perch_layout('icons/icon--twitter');
?>
Twitter</h3></div>
</div>
<div class="widget__content">
<?php
perch_twitter_get_latest(['exclude_replies' => true]);
?>
</div>
</div>
<div class="widget widget--subscribe">
<div class="widget__header">
<div class="widget__title"><h3><?php
perch_layout('icons/icon--rss');
?>
Subscribe</h3></div>
</div>
<div class="widget__content">
<p>Get a weekly summary of perchd.io articles and news.</p>
<?php
perch_mailchimp_form('subscribe.html');
?>
</div>
</div>
</aside>
示例15: perch_layout
<aside class="sidebar">
<div class="widget widget--user">
<div class="widget__header">
<div class="widget__title"><h3><?php
perch_layout('icons/icon--user');
?>
User</h3><hr /></div>
</div>
<div class="widget__content">
<?php
if (perch_member_logged_in()) {
?>
<ul>
<li><a href="/user/apps">My Apps</a></li>
<li><a href="/user/">Edit profile</a></li>
<li><a href="/user/logout">Log out</a></li>
</ul>
<?php
} else {
perch_members_login_form();
}
?>
</div>
</div>
</aside>