Beispiel #1
0
    q21_menu('header_primary', 'header-primary', 'descriptions');
}
?>
<hgroup id="top-branding" class="grid_6">
    <h1 id="site-title"><a href="<?php 
echo home_url();
?>
" title="<?php 
_e('home', 'q21');
?>
"><?php 
bloginfo('name');
?>
</a></h1>
    <h2 id="site-description"><?php 
bloginfo('description');
?>
</h2>
</hgroup>
<div id="featured-area"><?php 
if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Header Sidebar')) {
}
?>
</div>
<?php 
if (function_exists('q21_menu')) {
    q21_menu('header_secondary', 'header-secondary');
}
?>

Beispiel #2
0
* The Main footer with secondary Logo, copyright and footer menu File
* @package q21
* add 'descriptions' to the menu function to use the custom walker involving menu item descriptions - e.g. <?php q21_menu('footer_primary', 'footer-primary', 'descriptions'); ?>
*/
if (function_exists('q21_menu')) {
    q21_menu('footer_primary', 'footer-primary');
}
?>
<hgroup id="footer-branding" role="main">
<p id="site-copyright"><a href="<?php 
home_url();
?>
" title="<?php 
_e('home', 'q21');
?>
"><?php 
bloginfo('name');
?>
</a></h1>
<p id="gotop"><a href="#container"><?php 
_e('Top', 'q21');
?>
</a></p>
</hgroup>
<?php 
if (function_exists('q21_menu')) {
    q21_menu('footer_secondary', 'footer-secondary');
}
?>