Viewing 8 replies - 1 through 8 (of 8 total)
  • Looks like you have 2 a tags inside the first li tag:

    <li>
       <a href="http://funraiser.co" title="Fun Raiser: The Harvard Trade-up Challenge" class="logo"></a>
       <a href="http://funraiser.co/" title="Recent News">News<br><span></span></a>
    </li>
    Thread Starter douglasbell01

    (@douglasbell01)

    Hi vtxyzzy

    that is what it looks like, but I can’t see the root cause. Where do you think the corrupted code is hiding? I have checked the header and nav php files again, without spotting anything unusual, such as extra list tags.

    Header Code: http://pastebin.com/pW5FeWqY

    Navigation Code: http://pastebin.com/nZb77CHn

    In Navigation.strip.php, I see this code:

    <li><a href="<?php echo get_settings('home'); ?>/" title="Recent News">News</a></li>

    What is in get_settings(‘home’)?

    Thread Starter douglasbell01

    (@douglasbell01)

    Sorry, I don’t understand your question. Can you explain what you mean, and how to amend the code please? I changed it recently to the following (no success).

    Thanks.

    <ul class="nav fix">
    
    <li><a>" title="Recent News">News</a></li>
    		<li class="last"><?php wp_list_pages('title_li=&sort_column=post_title' ) ?>
    		<li id="searchBar1" class="searchField">
    			<div>

    [Please post code snippets between backticks or use the code button.]

    Something is inserting this code:

    <a class="logo" title="Fun Raiser: The Harvard Trade-up Challenge" href="http://funraiser.co"> </a>

    in multiple places. I thought it might be in the call to get_settings() somehow. You need to look at plugins or theme options that deal with a logo.

    Thread Starter douglasbell01

    (@douglasbell01)

    Tried deactivating all the Plugins, but no luck there. Deleted many plugins too.

    The problem only arose when editing the header.php to include a logo. Previously, the theme inserted the site title in H1 tags.

    Sorry, I can’t think of anything else to try.

    Thread Starter douglasbell01

    (@douglasbell01)

    Got it! Te header.php was missing a closing ></a> on the logo/homepage link code.

    Thanks for your help vtxyzzy – much appreciated.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Safari Bug? Or coding error…’ is closed to new replies.