Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #4493

    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.

    #46534

    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>

    #46535

    Here is the line of code I have in the header:

    $logo = ‘'.get_settings('home').'‘;

    $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.

    #46536

    Typo from above, I have this currently in the header:

    $logo = ‘'.get_settings('home').'‘;

    $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.

    #46537

    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="logo

    #46538

    Wow! Im an idiot. thanks for the help.

    #46539

    Glad that I could help you :)

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘How do you remove the link from the logo?’ is closed to new replies.