Below is the code in my header-default.php file that shows the
wp_list_pages. See anything wrong?
Why wouldn't it create a "Home" tab on my navigation? There is no
"Home" page in my pages.
Thanks,
Deauxmain
<body class="<?php sandbox_body_class() ?>">
<div id="page">
<p id="top"><a id="to-content" href="#content"
title="<?php
_e( 'Skip to content', 'sandbox' ) ?>"><?php _e( 'Skip to content',
'carrington' ); ?></a></p>
<div id="header">
<div class="wrapper">
<strong id="blog-title"><a href="<?php
bloginfo('url') ?>/"
title="Home" rel="home"><?php bloginfo('name') ?></a></strong>
<!-- <strong id="blog-title"><a
href="<?php# bloginfo('url') ?>/"
title="Home" rel="home"><img src="
http://awelldressedhome.com/wp-
content/uploads/2010/04/logo.jpg"></a></strong> -->
<p id="blog-description"><?php
bloginfo('description'); ?></p>
<div id="navigation">
<ul>
<?php
wp_list_pages('title_li='); ?>
<?php
global $user_ID;
if($user_ID) {
echo '<li
class="secondary"><a href="' . site_url('wp-login.php?
action=logout', 'login') . '">' . __('Log Out', 'carrington') . '</
a></
li>';
} else {
echo '<li
class="secondary"><a href="' . site_url('wp-
login.php', 'login') . '">' . __('Log In', 'carrington') . '</a></
li>';
}
?>
<?php wp_register('<li
class="secondary">', '</li>'); ?>
</ul>
</div><!-- #navigation -->
</div><!-- .wrapper -->
</div><!-- #header -->
On May 2, 7:32 am, Kai Pan <
kai....@gmail.com> wrote:
> Check your plugins or maybe your permalinks. All of your links have a query
> ? attached to them and Home is querying a page. I'm assuming you've checked
> your actual php code, right? Are you using the list_pages template tag? Do
> you have a Home "page" created? I think list_pages has a variable/parameter
> that creates a "home" link. Or was that list_categories? Forgot. But I think
> you have a "Home" page created and its being listed and thus throwing you
> off from an actual home link.
>