I set up my blog with a Thematic Child theme last year, and then stopped blogging. Recently I revived my blog, and of course Wordpress and Thematic were in need of updating. I updated both of them, and my Child theme mostly protected my blog design. However, the updating process did cause one glitch that I don't know how to fix.
Before updating, I had a nice setup for a horizontal menu of pages right below the header. Each link was in a little box. I have no idea how I made that happen, but I have a vague sense that it had something to do with the functions.php file in my child theme folder. That menu only had two links: One was for my "about" page, and one was for "blog front page", because my custom header is not clickable.
I plan to add more pages, so in the future there will be more items in that menu.
Could one of you design-masters explain to me how I can get my nice menu of horizontal boxes back? After updating, the "blog front page" link is entirely gone, and the "about" link is small and needs its style settings changed.
Blog URL: http://bendingtreearts.com/blog
Here's my current child-theme functions.php file:
<?php
function sample_menu() {
$menu = '<div id="menu">
- ';
- <a href="';
}
$menu .= get_option('home') . '/" title="Home">Blog front page
';
if ( is_home() ) {
$menu .= '<li class="current_page_item"><a href="';
}
else {
$menu .= '
$menu .= str_replace( array( "\r", "\n", "\t" ), '', wp_list_pages('title_li=&sort_column=menu_order&echo=0') );
$menu .= "
echo $menu;
}
add_filter('sandbox_menu', 'sample_menu' );
function childtheme_content($content) {
if (is_category()) {
$content= 'full';}
return $content;
}
add_filter('thematic_content', 'childtheme_content');
?>
thanks for any help!