Make tab title different from page title
-
Hi — I’ve searched high and low on the forums, and looked through my code but can’t figure it out. My tab title automatically picks up my page title (Welcome to BandPromo.me), but I want the tab title to be “Home”. Here’s the header code — I couldn’t see anything in here. I’m using “That Music” theme. Thank you!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml"> <head profile="https://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title> <?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?> </title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/tabber.js"></script> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_head(); ?> </head> <body> <div class="container_16"> <div class="grid_16 blog_title"> <!-- <h1><a href="<?php bloginfo('url'); ?>"> <?php bloginfo('name'); ?> </a></h1> <h4> <?php bloginfo('description'); ?> </h4> --> <center> <script type="text/javascript"><!-- google_ad_client = "pub-"; /* 728x90, created 10/10/10 */ google_ad_slot = "3150284296"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="https://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </center> <div class="grid_16 navigation"> <ul> <?php wp_list_pages('depth=1&title_li='); ?> </ul> <div class="search_box"> <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/"> <div> <input type="image" src="<?php bloginfo('template_directory'); ?>/img/search_btn.gif" id="go" alt="Search" title="Search" class="search_btn" /> <input type="text" value="<?php the_search_query(); ?>" name="s" id="s" class="search_field" /> </div> </form> </div> </div> <?php if(is_home()) :?>[<div class="grid_16 main_image"> </div>] <?php endif;?> <div class="grid_16 content_wrapper"> <?php if(function_exists('show_media_header')){ show_media_header(); } ?>
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Make tab title different from page title’ is closed to new replies.