Well if you guys aren't sick of me yet, I have another question. The "show home link on the menu" function that I copied and pasted into my functions.php doesn't seem to have any effect. My other two copy-past functions (favicon and conditional stylesheets) work great. I don't really know PHP so any help anyone can offer would be great.
Here's what my functions.php looks like:
<?php
// Adds Home link to navgation
function sample_menu() {
$menu = '<div id="menu"><ul>';
if ( is_home() ) {
$menu .= '<li class="current_page_item"><a href="';
}
else {
$menu .= '<li><a href="';
}
$menu .= get_option('home') . '/" title="Home">Home</li>';
$menu .= str_replace( array( "\r", "\n", "\t" ), '', wp_list_pages('title_li=&sort_column=menu_order&echo=0') );
$menu .= "</ul></div>\n";
echo $menu;
}
add_filter('sandbox_menu', 'sample_menu' );
// Uses child theme favicon
function childtheme_favicon() { ?>
<link rel="shortcut icon" href="<?php echo bloginfo('stylesheet_directory') ?>/images/favicon.ico" />
<?php }
add_action('wp_head', 'childtheme_favicon');
// Adds conditional stylesheets
function childtheme_iefix() { ?>
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="<?php echo bloginfo('stylesheet_directory') ?>/ie.css" />
<![endif]-->
<?php }
add_action('wp_head', 'childtheme_iefix');
?>
My site (in development) is at http://flasta.org/wp/
Thanks for your help. This is probably some newbie error (failure to properly cut and paste???) but I can't figure it out.