I like the logo and dont want a slogan. Instead I just dont want it linking to the home page at all. A solution to this Im sure is easy but I cant find it in the css or php. Please help.
How do you remove the link from the logo?
7 posts from 2 voices-
Posted 2 years ago #
-
Hey,
in header.php replace:<h2 class="logo <?php echo $logoclass; ?>"><a class='ie6fix' href="<?php echo get_settings('home'); ?>/"><?php echo $logo; ?></a></h2>with:
<h2 class="logo <?php echo $logoclass; ?>"><?php echo $logo; ?></h2>Posted 2 years ago # -
Here is the line of code I have in the header:
$logo = '
';
$logoclass = 'logoimg';I have replaced it with:
$logo = '<?php echo $logoclass; ?>"><?php echo $logo; ?>';
$logoclass = 'logoimg';It still links to the home page though. Any insight. Its the first link that the engines see when they crawl the site and I need it to not link and skip to my first nav bar link for better results. If you could help that would be great.
Posted 2 years ago # -
Typo from above, I have this currently in the header:
$logo = '
';
$logoclass = 'logoimg';replaced it with the suggestion but it didnt work then replaced it with:
$logo = '<?php echo $logoclass; ?>"><?php echo $logo; ?>';
$logoclass = 'logoimg';still links perfectly which I do not want.
Posted 2 years ago # -
The code I posted above is correct - however it's used after the code you posted. You need to scroll down a bit. The best way to locate it would be to search the text file for:
<h2 class="logoPosted 2 years ago # -
Wow! Im an idiot. thanks for the help.
Posted 2 years ago # -
Glad that I could help you :)
Posted 2 years ago #
Reply
You must log in to post.














