MicrotechXP
New Member
- Messages
- 7,644
- Reaction score
- 0
- Points
- 0
Alright, I just bought a wordpress theme and I want to make some changes to it to suit me. I messed around with the code and I wanted the menu's to be on top and it became like this: http://www.ddrun.x10hosting.com
I want it to look like this:
Here is the website URL: http://www.ddrun.x10hosting.com
and here is the source code from the header.php:
This is the source code before I messed with it.
What's wrong? Thanks.
I want it to look like this:
Here is the website URL: http://www.ddrun.x10hosting.com
and here is the source code from the header.php:
PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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 -->
<title><?php wp_title('«', true, 'right'); ?><?php bloginfo('name'); ?></title>
<!-- Link REL / CSS -->
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!-- Javascript -->
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/common.js"></script>
<!--[if lt IE 7]><script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js" type="text/javascript"></script><![endif]-->
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
</head>
<body>
<!--[if lt IE 7]>
<div class="ie6-notice"><strong>Notice:</strong><br />Please upgrade your browser to at least Internet Explorer 7 to properly view this website.</div>
<![endif]-->
<a name="top" id="top"></a>
<!-- Header // -->
<div class="wpn_header">
<!-- Logo -->
<a class="wpn_logo" href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/logo-trans.png" alt="" /></a>
<!-- Search // -->
<div class="wpn_search">
<form id="searchform" action="<?php echo get_option('home') ?>" />
<input type="text" name="s" value="Search the blog..." onfocus="if(this.value==this.defaultValue)this.value='';" /><input type="image" src="<?php bloginfo('stylesheet_directory'); ?>/img/spacer.gif" />
</form>
</div>
<!-- // Search -->
<!-- Menu // -->
<ul class="wpn_menu">
<li><a href="<?php echo get_option('home'); ?>"><span>Home</span></a></li>
<?php wp_list_pages('sort_column=menu_order&title_li=&link_before=<span>&link_after=</span>&depth=0&include='.get_wpn_config('menu_include').'&exclude_tree='.get_wpn_config('menu_exclude')); ?>
</ul>
<!-- // Menu -->
<!-- Submenu // -->
<ul class="wpn_submenu">
<?php wp_list_categories('sort_column=menu_order&title_li=&show_count=0&include='.get_wpn_config('submenu_include').'&exclude='.get_wpn_config('submenu_exclude')); ?>
</ul>
<!-- // Submenu -->
</div>
<!-- // Header -->
<!-- Wrapper // -->
<div class="wpn_wrapper">
This is the source code before I messed with it.
What's wrong? Thanks.
Last edited: