示例#1
0
echo get_template_directory_uri();
?>
/js/checkout/custom-checkout.js"></script>
		<?php 
header_new_user();
?>
		<?php 
woopra_head();
?>
	</head>
	<body <?php 
body_class();
?>
>
		<div class="top-banner <?php 
echo banner_colors();
?>
"></div>
		<?php 
header_nav();
?>
		<?php 
attention_banners();
?>
		<?php 
header_banners();
?>
		<noscript>
			<div class="js-error alert alert-danger">For full functionality of this site it is necessary to enable JavaScript. Here are the <a href="http://www.enable-javascript.com/" target="_blank"> instructions how to enable JavaScript in your web browser</a>.</div>
		</noscript>
示例#2
0
		            <div class="container">
		                <a href="<?php echo home_url(); ?>" class="logo"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/logo.png" alt="Wooden Spoon"></a>

		                <!-- <a href="#" class="nav-mobile-toggle">
		                    <i class="icon-navicon"></i>
		                </a> -->

		                <div class="subscribe">

							<form class="form-subscribe" action="https://na27.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
		                    	<input type=hidden name="oid" value="00D400000008hFR">
								<input type=hidden name="retURL" value="http://woodenspoonstaging.amigopartnership.com/subscribe-thank-you/">
		                        <div class="form-group">
		                            <label for="email">Subscribe to newsletter:</label>
		                            <input type="email" class="form-control" placeholder="Enter email address" name="email">
		                            <button type="submit" name="submit" class="btn-subscribe"><i class="icon-right-open"></i></button>
		                        </div>
		                    </form>
		                </div>

		                <div class="header-nav">
		                    <?php header_nav(); ?>
		                </div>

		                <div class="header-donate">
		                    <a href="/donate/">Donate</a>
		                </div>
		            </div>
		        </header> 
				<!-- /header -->
示例#3
0
文件: nav.php 项目: Germey/yinxingpm
function generate_nav($selector = "", $user)
{
    current_frontend(header_nav($user), $selector);
}