当前位置: 首页>>代码示例>>PHP>>正文


PHP hybrid_get_menu函数代码示例

本文整理汇总了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;未经允许,请勿转载。