Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<!DOCTYPE html>
<!--[if IE 8]>          <html class="ie ie8" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 9]>          <html class="ie ie9" <?php language_attributes(); ?>> <![endif]-->
<!--[if gt IE 9]><!-->  <html <?php language_attributes(); ?>> <!--<![endif]-->

<head>
    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <title><?php echo ( is_home() || is_front_page() ) ? bloginfo('name') : wp_title('| ', true, 'right'); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <?php wp_head(); ?>
</head>

<?php
    /**
     * Assign header class based on theme option
     * @todo Assign this in functions.php instead of inline
     */
    ( get_option('header_layout','standard') == 'standard' ) ? $header_class = '' : $header_class = 'header-top';
?>

<body <?php body_class( $header_class ); ?>>

    <div class="body">

        <?php
            /**
             * Get the header layout based on choice in theme options.
             */
            get_template_part( 'header/content', get_option('header_layout','standard') );





This is code of header file.

menu is showing in home page but not in category page
Posted
Comments
ZurdoDev 13-Feb-15 8:10am    
This doesn't tell us much.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900