LonelyTree WordPress Theme
LonelyTree is a theme inspired by the global warming conditions around the world and in part dedicated to the bush fires. I live in Australia and if you have read or heard of the destruction caused by the fire in Australia you will have probably know the impact it has had on various communities and Wildlife.

LonelyTree image
I originally designed the LonelyTree as a big image and realized it might look better maybe as a theme which could be shared by blogger to reflect the urgent attention need to save guard our precious future. The LonelyTree image is a compilation of many brushes which can be found on deviantart.com you can check them out at http://www.gauson.com/blog/2009/11/01/lonelytree-artwork/
Demo link
If you have any suggestion as regarding the theme or any ideas please feel free to leave a comment.
Updated on 12/11/2009
==LonelyTree WordPress Theme Changelog ==
12/11/2009 – v1.9
Minor changes to functions.php file
Added threaded comment and trackback/pings
02/10/2009 – v1.8
Fixed the excessive category error
14/9/2009 – v1.7
Fixed the width
Fixed the footer background issue for IE8
11/6/2009 – v1.6
Added author tag with link to post
Added categories menu and drop down sub menu
Added main menu to the top of the page
Modified the header menu code
Made the header image smaller
Made changes to the code so that translation could be done more easily
Removed the lavalamp menu style from the template
Made major changes to the comments.php file
Fixed the footer margins
Fixed the search page error
04/5/2009 – v1.5
Fixed the readmore link
Fixed container div on IE6
Fixed the footer margin
31/3/2009 – v1.4
Added option for logo
Added optional flexible width layout
Added Theme options
Fixed search input field
Added main menu navigation seperate from the sidebar navigation
14/3/2009 – v1.3
Added seperate changelog file
Fixed the 404 page
Removed a redundant pages tag in the single post section
Fixed the pages section where the comments were not appearing
Fixed alignment problem in the post and pages sections where two image floats would cause the post’s footer to distort (thanks to Peter for bring it up)
Fixed sidebar alignment problem where the heading looked chopped off (thanks to Peter for bring it up)
8/3/2009 – v1.2
Modified the li, ul alignment issues
Modified the search bar images
Add the calendar widget in the sidebar
Modified the calendar widget css code
Fixed the spacing between paragraphs (Thanks to syrlinus for bringing it to my attention)
4/3/2009 – v1.1
made change to function.php file so it does not breaks output buffering
3/3/2009 – Intial release 1.0





The LonelyTree theme is perfect for me and really expresses the underlying theme of my blog. THANKS!
Is it possible to make the “home” page NOT be the page that opens up when you go to the website. I would love the “home” page to be something like the second or third link. I would also like to rename it to something like “News”.
Basically I just want to be able to push another page into the first spot on the link bar.
Is this possible?
Never mind about the first post. I figured that out. Now how can I just chance the sequence of where the home tab is located and how can I chance the name of it.
Are you using lonelytree theme or some other theme? The website you have used for commenting is using a different theme. I don’t know what code they have used in their template but you can try using this if it works for you.
<?php
if (is_home()) {
$addclass = ' id="current"';
} else {
$addclass = '';
}
echo "<li" . $addclass . "><a href='" . get_option('home') . "' title='Home'><span>Home</span></a></li>";
echo list_all_pages();?>
Just change the home in the code
<span>Home</span>Hope it helps
Hello, Ressac’s site is now online and available to visits. Works fine with your theme, thank again! As I said the translation is not done in exact same words, but it’s a good start!
I was wondering if the search result was supposed to show up like this (ex.: http://ressac.ca/?s=sacs)? Seems to me like there a wrap-up missing but don’t know what to do. Any ideas?
ya there was an error in the search.php file. You can rectify it by removing the </div> code in between
<?php get_sidebar(); ?>
<?php get_footer(); ?>
I think it was rectified in one of the updates.
Major update is coming up within few days to the template. With few language translation.
Great, looks better that way. Love the .lavaLampBottomStyle feature for the pages, did I mention? If you need code translated in french let me know.
Hey, great theme, currently making some changes to suit the website I am setting up…
having trouble with the menu at the top however. It seems to only show all the pages including subpages. How can i exclude the subpages and exclude specifics? (you dont seem to be using the wp_list_pages function…)
Thanks and I hope you’ll have a chance to help with this soon as I have a real tight deadline >.<
Cam
Try using the code below replace it in the header.php file
<div class="menuStyle"><?php
$index_page = "page_item";
if ( is_home() ) { $indexpage_class = "current"; }
?>
<ul>
<li class="<?php echo $index_page; ?>"><a href="<?php echo get_settings('home'); ?>"><?php _e('Home', 'lonelytree'); ?></a></li>
<?php wp_list_pages('title_li=&depth=1&exclude='); ?>
</ul>
</div>
Just add the page number you want to exclude in the code.
There are some major changes which are coming up in the theme. One will be the way the pages are displayed and the categories. Draft version is live on the site right now.
First and foremost, I love your theme. I’ve been looking for a theme for TheBardRoom for quite some time now, and just when I was about to settle for another theme that I was not too excited about, I stumbled across your design. It was exactly what I was looking for. Now to my questions,
1. Do you have a layout with 3 columns, I like the style sheet but I was looking for something with similar spacing to one of my other sites, http://themotleyview.com/
2. How could I change the header so that the size is about 10 to 15 percent smaller than the original theme, also if it is possible to use a compressed version of the header, can it be set up with the clouds running from edge to edge in the header image the way the grass runs all the way across in your compressed version.
Thank You,
Robert
I would like to clarify my 2nd question from my previous post. What I would like to do is eliminate about 2/3 of the space between the top of the header and the top bird and then re-size the height on the remaining image to make it about 10 percent smaller. The effect of the large image is captivating to the eye, so I don’t want to sacrifice to much size, but I need to show a little more of the text body. Thank you very much for any help you can give me with this.
Robert
Yes you can change it to 3 columns theme, just add one more column. With regards to the clouds running edge to edge are you looking for a fluid or fixed header. Do you have exact size in mind, like dimensions in pixels? I can incorporate the new header in the upcoming release as an option.
Hi
Having the same problem as Cameron, I’m trying to exclude subpages/childpages from the topnav main menu.
What code do I need to replace in header.php with:
<li class=”"><a href=”">
I’ve searched for “menuStyle” but it isn’t in there?
Hope you can help! Great theme!
Hello and thank you for your response. I will send you the dimensions of the header I would like by tomorrow. Also you said that I can change the theme to 3 columns just by adding a column. The fact is that I’m still learning how to make changes and do not have a clue how I would add a column. I realized after viewing my other website, TheMotleyView.com that I’m not looking to add a column to TheBardRoom.com, but looking to add another sidebar, so that I may add and remove widgets. There is one issue with the existing side on your theme and that is that the width would have to be cut down in order to have a left and a right sidebar with the main text body in the middle. Sorry for leaving such an extended request but I do not have any idea how to make the changes. Again I thank you for any help you can offer.
Robert
sorry… in reference to my post I meant to copy and paste your code which started with class=menuStyle
Hello there. I’m also working (and tweeking) this great theme to make it my owm. So first of all, thank you!!!
I have the same question than Richie or Cameron. The code you propose is great because, it actually makes the job (excluding a selected page from the main menu). Nevertheless, it does not anymore apply the “current” style to the tab when you’re browsing the pages. The “home” always gets the “current” and then is shown as selected.
Would you have a way to handle this? Or is it in the next release, and we just have to be patient?
)
For Richie >
Just replace fromAnd in Gauson's code, that's indeed "mainmenu" instead of "menuStyle". Besides, you need to add the lavalamp class :
instead of .
Try the using the following to current home tab problem.
Add this in the css file style.css
.menuStyle li#current a, .menuStyle a:hover, li.current_page_item a {
color: #fff;
background-color: #333;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
}
Code to be replaced in the header.php
<div class="menuStyle">
<?php
if (is_home()) {
$addclass = ' id="current"';
} else {
$addclass = '';
}
?>
<ul>
<li "<?php echo $addclass; ?>"><a href="<?php echo get_settings('home'); ?>"><?php _e('Home', 'lonelytree'); ?></a></li>
<?php wp_list_pages('title_li=&depth=1&exclude='); ?>
</ul>
</div>
Yes! The theme definitely looks good and there is something which attracts everyone. I would surely download it but still have another one in hand, so let me try this one first and then will try the other one!
Any chance of this lovely theme becoming a blogger template?
If there were few other request for the theme to be coded for blogger template I would certain convert it.
Amazing! Not clear for me, how offen you updating your http://www.gauson.com.
Trying to find the right look.
”
<html xmlns=”http://www.w3.org/1999/xhtml” >
<meta http-equiv=”Content-Type” content=”; charset=” />
<meta name=”generator” content=”WordPress ” />
<meta name=”description” content=”" />
<link rel=”shortcut icon” href=”/images/favicon.ico” />
<link rel=”stylesheet” href=”/style-wide.css” type=”text/css” media=”screen” />
<link rel=”stylesheet” href=”" type=”text/css” media=”screen” />
<link rel=”alternate” type=”application/rss+xml” title=” RSS” href=”" />
<link rel=”pingback” href=”" />
<script type=”text/javascript” src=”/js/jquery.js”>
<script type=”text/javascript” src=”/js/jquery.easing.min.js”>
<script type=”text/javascript” src=”/js/jquery.lavalamp.js”>
<a href=”/”><img src=”" title=”" alt=”" /><a href=”/”>
get_results(‘select ID, post_title from ‘. $wpdb->posts .’ where post_status = “publish” and post_type = “page” order by ID’);
}
return $these_pages;
}
function list_all_pages(){
$all_pages = get_the_pa_ges ();
foreach ($all_pages as $thats_all){
$the_page_id = $thats_all->ID;
if (is_page($the_page_id)) {
$addclass = ‘ class=”current”‘;
} else {
$addclass = ”;
}
$output .= ‘ID).’” title=”‘.$thats_all->post_title.’”>’.$thats_all->post_title.’‘;
}
return $output;
}
?>
<?php
if (is_home()) {
$addclass = ‘ class=”current”‘;
} else {
$addclass = ”;
}
echo “Home“;
echo list_all_pages();?>
”
Delete previous, it didn’t work.
Here is the code I have for header.php
http://utilitybase.com/paste/14841
Which part do I need to change and to what?
I tried the changes you suggested but can’t seem to get them to work? There is not class called “menuStyle”, so I tried replacing class “mainmenu” but still not joy.
I am using version 1.5? Perhaps you are already working on a newer version?
Thanks to anyone that can help me and who has tried to help me!
I am really grateful!
Matoo maybe you help me by pasting your header.php code @utilitybase.com? Please?
Ah! Matoo has sent me a fix!!
Thanks Matoo you are a legend!
Thanks Gauson for the great theme!
geat themes … simple and clean wp themes
the download file has the fix for the header and few others
Thank you for the wonderful theme. I just downloaded it and it looks wonderful. However, I have a question, I’m running on WP2.8.1 and I cannot get rid of the “Tag Cloud” on the sidebar; it doesn’t show up as a widget on the sidebar, but it appears on the webpage. Do you know how I can fix this? Thank you so much again.
How do I go about removing the tag cloud? I tried commenting out
Tag Cloud
in the sidebar.php, but that didn’t work. I don’t think I have enough terms – my cloud is empty right now, so I’d rather take it out.
Remove the following code in the sidebar.php
<!-- tag cloud --><?php if (!is_single()) : ?>
<div id="tag_cloud" class="widget">
<h3>Tag Cloud</h3>
<?php wp_tag_cloud('smallest=8&largest=16'); ?>
</div>
<?php endif; ?>