Support » Fixing WordPress » Top link works in IE, not Firefox or Safari

  • my site is http://www.yourcruiseyourway.com. There is a link in the upper right for my sale site. The link only works in IE. Theme developer seems to think it appears to be clashing with my install of 2.7. Any suggestions, or has anyone had an issue like this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • has anyone had this happen? Any suggestions for solution? Thanks

    If failed to work in Safari and Firefox and Google Chrome

    This is the header code:

    <head>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php if (is_home () ) { bloginfo(�name�); }
    elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo(�name�); }
    elseif (is_single() ) { single_post_title();}
    elseif (is_page() ) { single_post_title();}
    else { wp_title(��,true); } ?></title>
    <meta name="robots" content="index,follow" />
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <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="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>
    </head>
    
    <body>
    <div id="wrapper">
    
    <div id="header">
    <div class="topright"><!-- Edit welcome message here -->Looking to purchase a cruise?  My site is  <a href="http://www.avctravel.com/greggeppleman">America's Vacation Center</a>
    
    </div>
    <h1 class="sitename"><a href="<?php echo get_option('home'); ?>"><?php bloginfo('name'); ?></a></h1>
    <h2 class="sitedesc"><?php bloginfo('description'); ?></h2>
    </div> <!-- Closes Header -->
    
    <div id="nav">
    
    <div class="search"><?php include (TEMPLATEPATH . '/searchform.php'); ?></div> <!-- Closes Search -->
    
    <?php function get_the_pa_ges() {
      global $wpdb;
      if ( ! $these_pages = wp_cache_get('these_pages', 'pages') ) {
         $these_pages = $wpdb->get_results('select ID, post_title from '. $wpdb->posts .' where post_status = "publish" and post_type = "page" order by ID');
    
       }
      return $these_pages;
     }
    
     function list_all_pages(){
    
    $all_pages = get_the_pa_ges ();
    foreach ($all_pages as $thats_all){
    $the_page_id = $thats_all->ID;
    
    if (is_page($the_page_id)) {
      $addclass = ' class="current_page"';
      } else {
      $addclass = '';
      }
    $output .= '<li' . $addclass . '><a href="'.get_permalink($thats_all->ID).'" title="'.$thats_all->post_title.'"><span>'.$thats_all->post_title.'</span></a></li>';
    }
    
    return $output;
     }
    ?>
    <ul>
    <?php
    
    if (is_home()) {
      $addclass = ' class="current_page"';
      } else {
      $addclass = '';
      }
    echo "<li" . $addclass . "><a href='" . get_option('home') . "' title='Home'><span>Home</span></a></li>";
    echo list_all_pages();?>
    </ul>
    
    <div class="cleared"></div>
    </div> <!-- Closes Nav -->
    
    <div class="topcurvewhite"></div>
    <div id="main">
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Top link works in IE, not Firefox or Safari’ is closed to new replies.