• Resolved Harriet1908

    (@harriet1908)


    I am using latest version of WordPress and I have created my own theme, however I am having problems getting the tab to display the information I require. As it currently stands my tab repeats my sites name twice in the tab after the page title. I don’t know anything about coding but I have looked on other topics similar to this and cannot work it out, however I have located my header.php file but cannot work out how to change the tab title. I don’t know if the problem is my tab is displaying my custom menu title as this is the same as my website title, however I may be grabbing a straws to come up with an answer as to why it is displaying this information twice. Can anyone help or suggest what I should be looking for? Below is all the information in my header.php file;

    <?php global $wp_locale;
    if (isset($wp_locale)) {
    $wp_locale->text_direction = ‘ltr’;
    } ?>
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <– Created by Artisteer v4.3.0.60745 –>
    <meta name=”viewport” content=”initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width” />
    <!–[if lt IE 9]><script src=”<?php get_template_directory_uri() ?>/html5.js”></script><![endif]–>

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’) ?>” media=”screen” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php
    remove_action(‘wp_head’, ‘wp_generator’);
    if (is_singular() && get_option(‘thread_comments’)) {
    wp_enqueue_script(‘comment-reply’);
    }
    wp_head();
    ?>
    </head>
    <body <?php body_class(); ?>>

    <div id=”art-main”>

    <?php if(theme_has_layout_part(“header”)) : ?>
    <header class=”art-header<?php echo (theme_get_option(‘theme_header_clickable’) ? ‘ clickable’ : ”); ?>”><?php get_sidebar(‘header’); ?></header>
    <?php endif; ?>

    <?php if (theme_get_option(‘theme_use_default_menu’)) { wp_nav_menu( array(‘theme_location’ => ‘primary-menu’) );} else { ?><nav class=”art-nav”>
    <div class=”art-nav-inner”>
    <?php
    echo theme_get_menu(array(
    ‘source’ => theme_get_option(‘theme_menu_source’),
    ‘depth’ => theme_get_option(‘theme_menu_depth’),
    ‘menu’ => ‘primary-menu’,
    ‘class’ => ‘art-hmenu’
    )
    );
    get_sidebar(‘nav’);
    ?>
    </div>
    </nav><?php } ?>
    <div class=”art-sheet clearfix”>
    <div class=”art-layout-wrapper”>
    <div class=”art-content-layout”>
    <div class=”art-content-layout-row”>
    <?php get_sidebar(); ?>
    <div class=”art-layout-cell art-content”>

    Many thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Tab Title’ is closed to new replies.