• Hey there,

    I’m trying to edit the header in a custom theme.
    I am trying to make the Facebook and Twitter logos open in blank windows but I can’t edit them in the regular header.php file and I can’t find the source of where the info related is stored.

    Here is the code of my header and the site is thebeadtrails.com

    <?php
    /**
     * The Header for our theme.
     *
     * Displays all of the <head> section
     *
     */
    ?>
    
    <!DOCTYPE html>
    
    <!--[if lt IE 7]>
    <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if IE 7]>
    <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if IE 8]><html class="no-js lt-ie9" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if gt IE 8]><!-->
    <html class="no-js" <?php language_attributes(); ?>>
    <!--<![endif]-->
    
    <head>
        <meta charset="<?php bloginfo( 'charset' ); ?>">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title><?php bloginfo('name'); ?></title>
    
        <meta name="viewport" content="width=device-width">
    
        <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/normalize.min.css">
        <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/coin-slider-styles.css">
        <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/jquery.thumbnailScroller.css">
        <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/responsive-nav.css">
        <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_directory' ); ?>/css/jquery.bxslider.css">
        <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    
        <script src="<?php bloginfo('template_directory'); ?>/js/modernizr-2.6.2.min.js"></script>
    
        <script type="text/javascript" src="//use.typekit.net/prs6fot.js"></script>
        <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
    
        <?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
        <!--[if lt IE 7]>
            <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> or <a href="https://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
        <![endif]-->
    
    	<div class="wrapper">
    
    	<header id="page-header" class="row"> <!-- Header Content Begins here -->
    		<div id="logo">
    			<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    		</div>
    
    		<?php wp_nav_menu(
    			array(
    				'theme_location'	=> 'social_media_menu',
    				'container'			=> 'div',
    				'container_id'		=> 'social-media'
    			));
    		?>
    
    		<?php wp_nav_menu(
    			array(
    				'theme_location'	=> 'primary_menu',
    				'container'			=> 'nav',
    				'container_id'		=> 'primary-nav'
    			));
    			?>
    
    		<div class="mobile-nav-bar">
    			<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    			<?php wp_nav_menu(
    			array(
    				'theme_location'	=> 'mobile_menu',
    				'container'			=> 'div',
    				'container_id'		=> 'nav'
    			));
    			?>
    		</div>
    
    	</header>
  • The topic ‘Editing header’ is closed to new replies.