• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP hybrid_get_menu函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: hybrid_site_title

>
				<?php 
hybrid_site_title();
?>
				<?php 
hybrid_site_description();
?>

			</div><!-- #branding -->

			<?php 
hybrid_get_menu('social');
// Loads the menu/social.php template.
?>

			<?php 
hybrid_get_menu('primary');
// Loads the menu/primary.php template.
?>

		</header><!-- #header -->

		<?php 
//hybrid_get_menu( 'secondary' ); // Loads the menu/secondary.php template.
?>

		<div id="main" class="main">

			<?php 
hybrid_get_menu('breadcrumbs');
// Loads the menu/breadcrumbs.php template.
开发者ID:grvrulz,项目名称:vaidusworld,代码行数:31,代码来源:header.php


示例2: hybrid_attr

				<div <?php 
hybrid_attr('branding');
?>
>
					<?php 
hybrid_site_title();
?>
					<?php 
hybrid_site_description();
?>
				</div><!-- #branding -->

				<?php 
hybrid_get_sidebar('header-right');
?>

				<?php 
tha_header_bottom();
?>

			</div>

		</header><!-- #header -->

		<?php 
tha_header_after();
?>

		<?php 
hybrid_get_menu('after-header');
开发者ID:stedy67,项目名称:Compass,代码行数:30,代码来源:header.php


示例3: wp_head

wp_head();
// Hook required for scripts, styles, and other <head> items.
?>
</head>

<body <?php 
hybrid_attr('body');
?>
>

	<div id="container">

		<header id="header">

			<div id="branding">
				<?php 
hybrid_site_title();
?>
				<?php 
hybrid_site_description();
?>
			</div><!-- #branding -->

		</header><!-- #header -->

		<?php 
hybrid_get_menu('primary');
// Loads the menu/primary.php template.
?>

		<div id="main">
开发者ID:AngryPerm,项目名称:socially-awkward,代码行数:31,代码来源:header.php


示例4: hybrid_get_sidebar

hybrid_get_sidebar('primary');
// Loads the sidebar/primary.php template.
?>
		</div><!-- #main -->

		<?php 
//hybrid_get_sidebar( 'footer' ); // Loads the sidebar/subsidiary.php template.
?>

		<footer <?php 
hybrid_attr('footer');
?>
>

			<?php 
hybrid_get_menu('social');
// Loads the menu/social.php template.
?>

			<p class="credit">
				<?php 
printf(esc_html__('Copyright &#169; %1$s %2$s', 'magik'), date_i18n('Y'), hybrid_get_site_link());
?>
			</p><!-- .credit -->
			<p class="credit">
				<?php 
echo __('Built with <big>&hearts;</big> at <a href="https://magikpress.com">MagikPress</a>', 'magik');
?>
			</p>

		</footer><!-- #footer -->
开发者ID:MagikPress,项目名称:magikpress,代码行数:31,代码来源:footer.php


示例5: hybrid_get_sidebar

	</div><!-- #content -->

	<?php 
hybrid_get_sidebar('subsidiary');
// Loads the sidebar/subsidiary.php template.
?>

	<footer <?php 
hybrid_attr('footer');
?>
>
		<div class="row">

			<?php 
hybrid_get_menu('subsidiary');
// Loads the menu/subsidiary.php template.
?>

			<div class="site-info">
				<div class="copyright">
					<?php 
printf(esc_html__('Copyright &#169; %1$s %2$s', 'croft'), date_i18n('Y'), hybrid_get_site_link());
?>
				</div><!-- .copyright -->
				<div class="credit">
					<?php 
printf(esc_html__('Powered by %1$s and %2$s', 'croft'), hybrid_get_wp_link(), hybrid_get_theme_link());
?>
				</div><!-- .credit -->
			</div><!-- .site-info -->
开发者ID:brettsmason,项目名称:croft,代码行数:30,代码来源:footer.php


示例6: get_header

<?php

get_header();
// Loads the header.php template.
?>

	<div id="primary" class="content-area">

		<main class="site-main" <?php 
hybrid_attr('content');
?>
>

		<?php 
hybrid_get_menu('secondary');
// Loads the menu/secondary.php template.
?>

		<?php 
if (!is_front_page() && hybrid_is_plural()) {
    // If viewing a multi-post page
    ?>

			<?php 
    locate_template(array('misc/archive-header.php'), true);
    // Loads the misc/archive-header.php template.
    ?>

		<?php 
}
// End check for multi-post page.
开发者ID:thefrosty,项目名称:The-One-Theme,代码行数:31,代码来源:index.php


示例7: hybrid_attr

<footer <?php 
hybrid_attr('footer');
?>
>

	<div class="wrap">

		<p class="credit">
			<?php 
echo hybrid_get_site_link() . ' &#169; ' . date_i18n('Y');
?>
			<?php 
hybrid_get_menu('footer');
?>
		</p><!-- .credit -->

	</div><!-- .wrap -->

</footer><!-- #footer -->
开发者ID:Harreh,项目名称:magicowl,代码行数:19,代码来源:site-footer.php


示例8: get_header

<?php

get_header();
// Loads the header.php template.
?>

<main <?php 
hybrid_attr('content');
?>
>

	<?php 
hybrid_get_menu('portfolio');
// Loads the menu/primary.php template.
?>

	<?php 
if (have_posts()) {
    // Checks if any posts were found.
    ?>

		<ul class="loop-entries-gallery">

			<?php 
    while (have_posts()) {
        // Begins the loop through found posts.
        ?>

				<?php 
        the_post();
        // Loads the post data.
开发者ID:ianperrin,项目名称:ravel,代码行数:31,代码来源:archive-portfolio_item.php


示例9: hybrid_attr

	<h1 <?php 
hybrid_attr('loop-title');
?>
><?php 
hybrid_loop_title();
?>
</h1>

	<?php 
if (is_category() || is_tax()) {
    // If viewing a category or custom taxonomy.
    ?>

		<?php 
    hybrid_get_menu('sub-terms');
    // Loads the menu/sub-terms.php template.
    ?>

	<?php 
}
// End taxonomy check.
?>

	<?php 
if (!is_paged() && ($desc = hybrid_get_loop_description())) {
    // Check if we're on page/1.
    ?>

		<div <?php 
    hybrid_attr('loop-description');
开发者ID:LSYanJun,项目名称:wordpress,代码行数:30,代码来源:loop-meta.php


示例10: hybrid_attr

				<div <?php 
hybrid_attr('branding');
?>
>
					<?php 
hybrid_site_title();
?>
					<p id="site-description" class="site-description"><?php 
bloginfo('description');
?>
</p>
				</div><!-- #branding -->

				
			</div><!-- .wrap -->

		</header><!-- #header -->

		<?php 
hybrid_get_menu('primary');
// Loads the menu/primary.php template.
?>
		<?php 
hybrid_get_menu('primary-mobile');
// Loads the menu/primary-mobile.php template.
?>

		<div id="main" class="main">
			<div class="wrap">			
开发者ID:EJOweb,项目名称:ejo-starter,代码行数:29,代码来源:header.php


示例11: hybrid_get_menu

					</div><!-- .entry-content -->

					<?php 
            hybrid_get_menu('formats');
            // Loads the menu/formats.php template
            ?>

				</article><!-- .entry -->

			<?php 
        } else {
            // If the page doesn't have content.
            ?>

				<?php 
            hybrid_get_menu('formats');
            // Loads the menu/formats.php template
            ?>

			<?php 
        }
        // End check for page content.
        ?>

		<?php 
    }
    // End found posts loop.
    ?>

	<?php 
}
开发者ID:AngryPerm,项目名称:socially-awkward,代码行数:31,代码来源:page-template-formats.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP hybrid_get_parent_textdomain函数代码示例发布时间:2022-05-15
下一篇:
PHP hybrid_get_context函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap