Exemple #1
0
				</div><!-- #access -->
				<div id="xpress-menu">
					<div class="menu-header">
						<div class="menu">
							<ul>
								<?php 
if (xpress_is_multiblog()) {
    $blog_details = get_blog_details(1);
    $site_url = $blog_details->siteurl;
    echo '<li><a href="' . $site_url . '/">' . __('Main Page', 'xpress') . '</a></li>';
}
?>
								<li><a href="<?php 
echo get_option('home');
?>
/"><?php 
_e('Blogs Home', 'xpress');
?>
</a></li>
								<?php 
if (xpress_is_contributor()) {
    echo '<li>' . xpress_post_new_link('link_title=' . __('Post New', 'xpress') . '&echo=0') . '</li>';
}
?>
							</ul>
						</div><!-- #menu -->
					</div><!-- #menu-header -->
				</div><!-- #xpress-menu -->
			</div><!-- #menu_div -->
		</div><!-- #xpress_header -->
	</div><!-- #xpress-header-bar -->
Exemple #2
0
				</div>
				<div class="xpress-description">
					<?php bloginfo('description'); ?>
				</div>
			</div><!-- #xpress-header-bar-top -->
	
			<!-- <div id="menu_div" role="navigation"> -->
			<div id="menu_div">
				<div id="access">
					<?php if (function_exists('wp_nav_menu')) wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-aheader' ) ); ?> 
				</div><!-- #access -->
				<div id="xpress-menu">
					<div class="menu-header">
						<div class="menu">
							<ul>
								<?php
									if(xpress_is_multiblog()){
										$blog_details = get_blog_details(1);
										$site_url = $blog_details->siteurl;
										echo '<li><a href="' . $site_url . '/">' . __('Main Page','xpress') . '</a></li>';
									}
								?>
								<li><a href="<?php echo get_option('home'); ?>/"><?php _e('Blogs Home','xpress')?></a></li>
								<?php if(xpress_is_contributor()) { echo '<li>'. xpress_post_new_link('link_title='. __('Post New','xpress'). '&echo=0').'</li>'; }?>
							</ul>
						</div><!-- #menu -->
					</div><!-- #menu-header -->
				</div><!-- #xpress-menu -->
			</div><!-- #menu_div -->
		</div><!-- #xpress_header -->
	</div><!-- #xpress-header-bar -->