Blog Title in StudioPress Theme won’t change
-
Hi. I recently changed the header.php file in my theme (Studiopress) to modify one of the buttons in the Navbar. This worked, however the modified blog title that I had entered changed back to the default blog title (“Corporate Theme”) that came with my theme. My modified blog title still appeared when I changed themes back to one of the default themes that comes with WordPress. I also tried deleting and reinstalling the Studiopress theme on the server. This didn’t seem to do anything. I’ve also deactivated all of my plugins (akismet and featured content gallery). Still nothing. Any help is greatly appreciated.
header.php =
<!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” <?php language_attributes(‘xhtml’); ?>>
<head profile=”https://gmpg.org/xfn/11″><meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<meta name=”distribution” content=”global” />
<meta name=”language” content=”en” /><title><?php wp_title(”); ?><?php if(wp_title(”, false)) { echo ‘ :’; } ?> <?php bloginfo(‘name’); ?></title>
<link rel=”Shortcut Icon” href=”<?php echo bloginfo(‘template_url’); ?>/images/favicon.ico” type=”image/x-icon” /><link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
<link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”<?php bloginfo(‘name’); ?> Atom Feed” href=”<?php bloginfo(‘atom_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” /><?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ ); ?>
<?php wp_head(); ?><script type=”text/javascript”><!–//–><![CDATA[//><!–
sfHover = function() {
if (!document.getElementsByTagName) return false;
var sfEls = document.getElementById(“nav”).getElementsByTagName(“li”);
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=” sfhover”;
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(” sfhover\\b”), “”);
}
}
}
if (window.attachEvent) window.attachEvent(“onload”, sfHover);
//–><!]]></script></head>
<body>
<div id=”wrap”>
<div id=”top”>
<img src=”<?php bloginfo(‘template_url’); ?>/images/top.gif” alt=”<?php bloginfo(‘name’); ?>” />
</div><div id=”header”>
<div class=”headerleft”>
/”><img src=”<?php bloginfo(‘template_url’); ?>/images/logo.png” alt=”<?php bloginfo(‘name’); ?>” />
</div><div class=”headerright”>
<form id=”searchformheader” method=”get” action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”>
<input type=”text” value=”Search this website…” name=”s” id=”searchbox” onfocus=”if (this.value == ‘Search this website…’) {this.value = ”;}” onblur=”if (this.value == ”) {this.value = ‘Search this website…’;}” />
<input type=”submit” id=”searchbutton” value=”GO” /></form>
</div></div>
<div id=”navbar”>
<ul id=”nav”>
- “>Home
- Categories
<?php wp_list_pages(‘title_li=&depth=4&sort_column=menu_order’); ?>
- <?php wp_list_categories(‘orderby=name&depth=4&title_li=’); ?>
</div>
<div style=”clear:both;”></div>
- The topic ‘Blog Title in StudioPress Theme won’t change’ is closed to new replies.