Hi there, im really new to wordpress and struggling with some code.
My website is here
I am looking to switch the category menu bar with the pages and center them both. I have been spending hours looking in header.php and trying to alter the code with no prevail.
Naturally, i have turned to you guys in need of help,
Thanks a bunch in advance.
-Code of my header below.
</head>
<body>
<!-- begin header -->
<div id="header">
<?php if (get_option('uwc_user_login') == "top" || get_option('uwc_user_login') == "topwidget") { ?>
<div id="login">
<?php
global $user_identity, $user_level;
if (is_user_logged_in()) { ?>
<ul>
<li><span style="float:left;">Logged in as: <strong><?php echo $user_identity ?></strong></span></li>
<li><a>/wp-admin">Control Panel</a></li>
<?php if ( $user_level >= 1 ) { ?>
<li class="dot"><a>/wp-admin/post-new.php">Write</a>
<?php } ?>
<li class="dot"><a>/wp-admin/profile.php">Profile</a>
<li class="dot"><a>&redirect_to=<?php echo urlencode($_SERVER['REQUEST_URI']) ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a>
</ul>
<?php
} else {
echo '
<ul>';
echo '
<li><a>Log In</a></li>
';
if (get_option('users_can_register')) { ?>
<li class="dot"><a>"><?php _e('Register') ?></a>
<?php
}
echo "</ul>
";
} ?>
</div>
<?php } ?>
<?php if (get_option('uwc_search_header') == "yes") { ?>
<div id="header-search">
<?php include(TEMPLATEPATH.'/searchform.php'); ?>
</div>
<?php } ?>
<?php if (get_option('uwc_logo_header') == "yes" && get_option('uwc_logo')) { ?>
<div id="title">
<a>/"><img src="<?php echo get_option('uwc_logo'); ?>" title="<?php bloginfo('name'); ?>" alt="<?php bloginfo('name'); ?>" /></a>
</div>
<?php } else { ?>
<div id="title">
<a>/"><?php bloginfo('name'); ?></a>
</div>
<?php } ?>
<div id="description">
<?php bloginfo('description'); ?>
</div>
<div id="navigation">
<ul class="menu" id="menu">
<div align="center">
<li><a>">Home</a></li>
<?php
$cats = wp_list_categories('echo=0&title_li=');
$cats = preg_replace('/title=\"(.*?)\"/','',$cats);
echo $cats;
?>
</div>
<div id="sub-navigation">
<ul class="pages">
<?php wp_list_pages('title_li=&depth=6'); ?>
<ul>
<li><a>?feed=rss2">Subscribe</a></li>
</ul>
</div>
</div>
</div>
<!-- end header -->