function thematic_access()
    {
        ?>
	    
	    <div id="access">
	    		
	    	<div class="skip-link"><a href="#content" title="<?php 
        _e('Skip navigation to the content', 'thematic');
        ?>
"><?php 
        _e('Skip to content', 'thematic');
        ?>
</a></div><!-- .skip-link -->
	    		
	    	<?php 
        if (function_exists("has_nav_menu") && has_nav_menu(apply_filters('thematic_primary_menu_id', 'primary-menu'))) {
            echo wp_nav_menu(thematic_nav_menu_args());
        } else {
            echo thematic_add_menuclass(wp_page_menu(thematic_page_menu_args()));
        }
        ?>
	        
		</div><!-- #access -->
		
		<?php 
    }
Exemplo n.º 2
0
    /**
     * Display the #access div
     * 
     * Override: childtheme_override_access
     */
    function thematic_access()
    {
        ?>
    
    <div id="access" role="navigation">
    	<h3 class="menu-toggle"><?php 
        echo apply_filters('thematic_mobile_navigation_buttontext', _x('Menu', 'Mobile navigation button', 'thematic'));
        ?>
</h3>
    	<div class=""><a class="skip-link screen-reader-text" href="#content"><?php 
        _e('Skip to content', 'thematic');
        ?>
</a></div><!-- .skip-link -->
    	
    	<?php 
        if (function_exists('has_nav_menu') && has_nav_menu(apply_filters('thematic_primary_menu_id', 'primary-menu'))) {
            echo wp_nav_menu(thematic_nav_menu_args());
        } else {
            echo thematic_add_menuclass(wp_page_menu(thematic_page_menu_args()));
        }
        ?>
    	
    </div><!-- #access -->
    <?php 
    }