section and everything up till the main content divs
* Learn more at http://codex.wordpress.org/Designing_Headers
*
* @package WordPress
* @subpackage WPDesignerThemes
* @since WP Themes for designers 1.0
--------------------------------------------------------------
NOTES
--------------------------------------------------------------
What do the _e('something', 'wpd_themes') tags mean?
These tags allow the content to be translated by the language engine. You
can take them out if you want but the text will no longer be translated
--------------------------------------------------------------
*/
?>
>
tag based on what is being viewed.
*/
global $page, $paged;
wp_title( '|', true, 'right' );
// Add the blog name.
bloginfo( 'name' );
// Add the blog description for the home/front page.
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) )
echo " | $site_description";
// Add a page number if necessary:
if ( $paged >= 2 || $page >= 2 )
echo ' | ' . sprintf( __( 'Page %s', 'wpd_themes' ), max( $paged, $page ) );
?>
* tag of your theme, or you will break many plugins, which
* generally use this hook to add elements to such
* as styles, scripts, and meta tags.
*/
wp_head();
?>
>
new WPDesignerThemes_Nav_Menu(), 'link_before' => '', 'link_after' => '', 'theme_location' => 'main-menu', 'container' => '', 'items_wrap' => '%3$s','fallback_cb' => '__return_false' ) );
}else{
//show a message to remind the user to add one
echo '
Please add a menu in Admin > Appearance > Menus > Main menu