• nick.gee

    (@nickgee)


    Hi,

    I have spent many hours now trying to get a link to work in my header.php file. Here is my header.php code:

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo('charset') ?>" />
    <title><?php wp_title('|', true, 'right'); bloginfo('name'); ?></title>
    <!-- Created by Artisteer v4.0.0.58475 -->
    <meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width">
    <!--[if lt IE 9]><script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>" media="screen" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php
    remove_action('wp_head', 'wp_generator');
    if (is_singular() && get_option('thread_comments')) {
    	wp_enqueue_script('comment-reply');
    }
    wp_head();
    ?>
    </head>
    <body <?php body_class(); ?>>
    
    <div id="art-main">
    
    <?php if(theme_has_layout_part("header")) : ?>
    <header class="clearfix art-header<?php echo (theme_get_option('theme_header_clickable') ? ' clickable' : ''); ?>"><?php get_sidebar('header'); ?>
    
        <div class="art-shapes">
    
                </div>
    
    <div align="right">
    <br><br>
    <table border="0" width="58%">
      <tr>
        <td width="450px">Now On Air:<?php if (function_exists('showme_showtime')) echo showme_showtime(); ?></td>
        <td width="50px"></td>
        <td width="200px"><center><img src="https://s459536108.websitehome.co.uk/wp-content/pics/play.png" width="100px" height="100px"><br>Listen Live!</center></td>
      </tr>
    </table>
    </div>
    
    </header>
    <?php endif; ?>
    
    <div class="art-sheet clearfix">
    <nav class="art-nav clearfix">
        <?php
    	echo theme_get_menu(array(
    			'source' => theme_get_option('theme_menu_source'),
    			'depth' => theme_get_option('theme_menu_depth'),
    			'menu' => 'primary-menu',
    			'class' => 'art-hmenu'
    		)
    	);
    ?>
        </nav>
    <div class="art-layout-wrapper clearfix">
                    <div class="art-content-layout">
                        <div class="art-content-layout-row">
                            <div class="art-layout-cell art-content clearfix">

    There is a part where it says <td width="200px"><center><img src="https://s459536108.websitehome.co.uk/wp-content/pics/play.png" width="100px" height="100px"><br>Listen Live!</center></td> and I want this image to link to another website. Is this possible?

    Thanks, Nick

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Link in header’ is closed to new replies.