View Full Version : Gradient Theme Header Link Problem
I have wordpress installed in tld/news but I have the index in tld. After installing the gradient theme, the header image now links to tld/news instead of tld.
How can I fix this?
adambarber
10-19-2011, 04:25 PM
Please post a link so I can take a look at how things are setup.
I sent the URL in private message.
adambarber
10-19-2011, 08:31 PM
Open up wp-content/themes/gradient-child-theme-10/lib/php/tr_base.php. Find the following big of code and change the bit in bold
// Enable Custom Logo
function gradient_logo() {
global $tr_gradient_logo_visible, $tr_gradient_logo_url; ?>
<div id="gradient_branding" class="clearfix">
<h2 id="logo">
<a href="<?php bloginfo('wpurl'); ?>">
<?php if($tr_gradient_logo_visible === 'true') { ?>
<img src="<?php echo $tr_gradient_logo_url; ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>"/>
<?php } else { ?><span id="logo_text"><?php bloginfo('name'); } ?>
</a>
</h2>
</div>
<?php }
to
<a href="/">
vBulletin® v3.8.1, Copyright ©2000-2013, Jelsoft Enterprises Ltd.