Hi, I'm currently trying to add a link to the header image of the theme "Arjuna". I'm a beginner to PHP, please help me! Here the the link to my blog.
<?php $arjunaOptions = arjuna_get_options(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php
if (is_home ()) { bloginfo('name'); echo " - "; bloginfo('description'); }
elseif (is_category() || is_tag()) {single_cat_title(); arjuna_get_appendToPageTitle(); }
elseif (is_single() || is_page()) {single_post_title(); arjuna_get_appendToPageTitle(); }
elseif (is_search()) {_e('Search Results:', 'Arjuna'); echo " ".wp_specialchars($s); arjuna_get_appendToPageTitle(); }
else { echo trim(wp_title(' ',false)); arjuna_get_appendToPageTitle(); }
?></title>
<?php if(is_home()): ?><link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /><?php endif; ?>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php
if (!$arjunaOptions['enableIE6optimization'] || !arjuna_isIE6()) { ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' );?>
<?php wp_head(); ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/default.js"></script>
<!--[if lte IE 7]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ie7.css" type="text/css" media="screen" /><![endif]-->
<!--[if lte IE 6]>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ie6.css" type="text/css" media="screen" />
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/ie6.js"></script>
<![endif]-->
<?php print arjuna_get_custom_CSS(); ?>
<?php } elseif(arjuna_isIE6()) { ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ie6_full.css" type="text/css" media="screen" />
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' );?>
<?php wp_head(); ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/default.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/ie6.js"></script>
<?php print arjuna_get_custom_CSS(); ?>
<?php } ?>
</head>
<body<?php if(!$arjunaOptions['headerMenu1_show']): ?> class="hideHeaderMenu1"<?php endif; ?>><a name="top"></a><a id="skipToPosts" href="#content"><?php _e('Skip to posts', 'Arjuna'); ?></a>
<div class="pageContainer">
<div class="headerBG"></div>
<div class="header">
<?php if($arjunaOptions['headerMenu1_show']): ?>
<div class="headerMenu1<?php if($arjunaOptions['headerMenu1_alignment']=='left'): ?> headerMenu1L<?php endif; ?>">
<ul id="headerMenu1"><?php
if ($arjunaOptions['headerMenu1_display']=='pages') {
wp_list_pages('sort_column='.$arjunaOptions['headerMenu1_sortBy'].'&sort_order='.$arjunaOptions['headerMenu1_sortOrder'].'&title_li=&exclude='.arjuna_parseExcludes($arjunaOptions['headerMenu1_exclude_pages'], 'page').'&depth='.$arjunaOptions['headerMenu1_dropdown']);
} elseif ($arjunaOptions['headerMenu1_display']=='categories') {
wp_list_categories('orderby='.$arjunaOptions['headerMenu1_sortBy'].'&order='.$arjunaOptions['headerMenu1_sortOrder'].'&title_li=&exclude='.arjuna_parseExcludes($arjunaOptions['headerMenu1_exclude_categories'], 'category').'&depth='.$arjunaOptions['headerMenu1_dropdown']);
}
?></ul>
<span class="clear"></span>
</div>
<?php endif; ?>
<?php
if ($arjunaOptions['headerImage'])
$tmp = ' header_'.$arjunaOptions['headerImage'];
else $tmp = ' header_lightBlue';
?>
<div class="headerMain<?php print $tmp; ?>">
<div class="headerSearch">
<form method="get" action="<?php bloginfo('url'); ?>/">
<input type="text" class="searchQuery searchQueryIA" id="searchQuery" value="<?php _e('Search here...', 'Arjuna'); ?>" name="s" />
<input type="submit" class="searchButton" value="<?php _e('Find', 'Arjuna'); ?>" />
</form>
</div>
</div>
<div class="headerMenu2<?php if($arjunaOptions['headerMenu2_displaySeparators']): ?> headerMenu2DS<?php endif; ?>"><span class="helper"></span>
<ul id="headerMenu2">
<?php if($arjunaOptions['headerMenu2_displayHomeButton']): ?><li><a href="<?php (function_exists('icl_get_home_url'))?(print icl_get_home_url()):(bloginfo('url')) ?>" class="homeIcon"><?php _e('Home','Arjuna'); ?></a></li><?php endif; ?><?php
if ($arjunaOptions['headerMenu2_display']=='pages') {
wp_list_pages('sort_column='.$arjunaOptions['headerMenu2_sortBy'].'&sort_order='.$arjunaOptions['headerMenu2_sortOrder'].'&title_li=&exclude='.arjuna_parseExcludes($arjunaOptions['headerMenu2_exclude_pages'], 'page').'&depth='.$arjunaOptions['headerMenu2_dropdown']);
} elseif ($arjunaOptions['headerMenu2_display']=='categories') {
wp_list_categories('orderby='.$arjunaOptions['headerMenu2_sortBy'].'&order='.$arjunaOptions['headerMenu2_sortOrder'].'&title_li=&exclude='.arjuna_parseExcludes($arjunaOptions['headerMenu2_exclude_categories'], 'category').'&depth='.$arjunaOptions['headerMenu2_dropdown']);
}
?>
</ul>
<span class="clear"></span>
</div>
</div>
<div class="contentWrapper<?php
//Sidebar
if ($arjunaOptions['sidebarDisplay']=='none') {
print ' NS';
} elseif ($arjunaOptions['sidebarDisplay']=='right') {
if ($arjunaOptions['sidebarWidth']=='small') print ' RSSW';
elseif ($arjunaOptions['sidebarWidth']=='large') print ' RSLW';
} elseif ($arjunaOptions['sidebarDisplay']=='left') {
if ($arjunaOptions['sidebarWidth']=='small') print ' LSSW';
elseif ($arjunaOptions['sidebarWidth']=='large') print ' LSLW';
else print ' LSNW';
}
?>">
<a name="content"></a>