Tree (V2) Redux With Widgets!

tree v2

I have had the most issues with my first hack at Tree with the “themetoolkit.php space break” issue and “header already sent” error! Not anymore.

I reworked the theme eliminating all the original files and starting with just the stylesheet. This theme is “widgets” ready and no longer uses the themetoolkit file!

I know there have been multiple requests for this both on my site and elsewhere, so I hope this will help those who have stayed with the older version. In fact I must thank them for getting me to go this route!

Here are some useful links: Test Run | Download

Note: This also means I would get the Orange theme upgraded soon!

Leave a Comments | Trackback | RSS 2.0

  1. 1. Pazzo, totalmente pazzo | January 7, 2007 #

    Thanks…. Tree V3 is working ?

    Pazzo.

  1. 2. a-train | January 7, 2007 #

    Hey, I’m using the great theme you’ve created. But for some reason, my blockquotes won’t do paragraphs. Do you know why?

    Thanks!

  1. 3. hso | January 7, 2007 #

    @ a-train

    Open style.php, change:

    .post blockquote p {
    margin:0;
    }

    to

    .post blockquote p {
    margin: 0 26px 15px 24px;
    }

  1. 4. hso | January 7, 2007 #

    @ a-train

    I noticed you are using Tree! Tree V2 is a new version with Wdigets, give it a try if you like, but do the changes to the blockquote anyways.

  1. 5. hso | January 7, 2007 #

    @ a-train

    My bad, it is style.css :-)

  1. 6. a-train | January 13, 2007 #

    hso,

    I tried using Tree V2. It loads faster than the original, and I like the Wdigets.

    But the sidebar in V2 doesn’t have a blogroll, synopsis, or previous entries.

    Also, there isn’t a “tree options” page in the Wordpress “presentation” section.

    Is there an easy way to get the sidebar from version 1 into version 2?

    Also, I noticed that the “split post with More tag” makes all of the “more” section bold typeface.

  1. 7. hso | January 13, 2007 #

    @ a-train

    For the isdebar, use Widgets to add the missing elements, that is why I changed it to begin with. Also, there is no options page as it was one of the reasons for the many bugs the earlier theme had. For the split post, I will check and get back.

  1. 8. CK | January 28, 2007 #

    I love your theme. I’m just wondering how I can add the flickr.com picture on mky sidebar like the old version of tree theme. If that can be done, I would be so happy!!

  1. 9. Goetheblog 3 » Goetheblog 3 | February 16, 2007 #

    [...] 3 Goetheblog 3 ist da. Wie unschwer zu erkennen, hat sich einiges geändert. Unter der Haube läuft jetztexistieren bisher nur als Idee. Kommen aber vielleicht noch. Macht es Euch gemütlich in Goetheblog 3. Veröffentlicht von Nils am 16. Februar 2007 | Abgelegt unterReflexivem [...]

  1. 10. martha | February 17, 2007 #

    Hi,
    I have been using the old tree theme and want to change to the new version. In the old one, I had issues in IE with the sidebar appearing at the bottom of the page. It looks like it is because my images are too wide, but I can’t seem to find anything to tell me what width to use. None of my images are over 400 pixels wide.
    From this article it sounds like an issue with the theme design:
    http://andy.wordpress.com/2006/08/14/defective-themes-image-width/
    I would like to avoid this with the new version. Can you tell me what width to use, or if this was fixed in the new version?
    Thank you. I love the design of this theme.

  1. 11. headsetop | February 17, 2007 #

    @ Martha

    The problem is neither with your images nor the original theme, and I looked at your site and I still can’t tell why it appears the way it does. Anyway, the new version has a main content width of 458px with 5px margin, 5px padding on each side of the image (so max image width can be 438px). Hope this info helps!

  1. 12. martha | February 18, 2007 #

    Thank you. I will try switching over and see if that helps. The article I mention above also says that it doesn’t have to be the image width -if the text area is too large it will cause this as well. I haven’t changed the text area width knowingly, but maybe this is the cause?

    On another note, I noticed in the new version that the left margin of text doesn’t line up with the left margin of the images. Is this the padding you mentioned? Can I get rid of the padding so they line up?

    Thanks again.

  1. 13. vusi666 | March 9, 2007 #

    Hello,
    I’m having problems editing ur theme, i mean font size of post title. I tried modifying the font-size of h3 and didn’t make it bigger, looks like it’s taking the style from someplace else. Can someone tell me where can i modify the font size of the post title?..and what else changes together with it? Thanks!

  1. 14. headsetop | March 9, 2007 #

    @ vusi666

    Did you change the font size here:

    h3 {
    font: bold 16px Georgia, “Times New Roman”, serif;
    letter-spacing: -1px;
    margin:0 26px 15px 24px;
    color: #1566A7;
    }

    font: 16px to whatever size you wanted?

  1. 15. cj williams | March 21, 2007 #

    Hello hso

    My apologies for what I’m sure is a vry basic question!

    We want to alert article directories, and others, when a new posting has been made on consultuk.com

    we realise that Technorati + the auto RSS Feeds (we think?) are doing this ~ but we have many other directories and sites that are asking for the RSS Feed detail (code? address?) ~

    Can you please advise us as to what we should be sending them?

    I can find some code/detail “below” the RSS icons, but I’m not sure if I’m finding the right information.

    As always, if you can help ~ many, many, thanks !

    CJ

  1. 16. headsetop | March 21, 2007 #

    @ CJ Williams

    Not sure if I quite get what you are asking for, but if you want to simply alert multiple directories, try a service like ping-o-matic, you can have WordPress do it for you. Once you ping using ping-o-matic, it will direct you to add a piece of code in your WP.

  1. 17. cj williams | March 22, 2007 #

    Hello hso - thanks for your reply - sorry I’m not explaining it very well ….

    what I’m after is, in a way, the opposite of a “ping-o-matic” link

    separately from the WP blog (consultuk.com) I am sending the same articles to directories which are not on the ping-o-matice and technorati lists

    I want to be able to send (in an email, or when submitting an article to them by hand) information or code, to these directories, so that they can then link up with the RSS Feed(s) on http://www.consultuk.com

    (rather than ask them to individually go to the site and then link up - because some won’t do this)

    then, each time I put a new article on http://www.consultuk.com, these (additional) directories will be pinged

    hope that makes sense ! CJ

  1. 18. headsetop | March 23, 2007 #

    @ CJ

    1) If the user who is accessing your RSS has a reader, it should automatically update the content as it refreshes on your site.

    2) Your directories should not rely on a post per post feed, they should try using something like FeedBurner if their current site has o feed reader.

    3) If #1 and #2 us not the answer, I probably still do not get the question right!

  1. 19. cjwilliams | April 11, 2007 #

    Hello hso

    I’m trying to remove the “Comments” facility, entirely (only receiving viagra and porn links!)

    but can’t see how to do this ~ be grateful if you could explain how to

    Many thanks ~ CJ

  1. 20. headsetop | April 11, 2007 #

    @ cjwilliams

    Open single.php and look for these 3 lines within < and >

    div class=”commentform”
    ?php comments_template(); ?
    /div

    Delete or comment them out and you should be good to go!

  1. 21. Nate | May 9, 2007 #

    I really like this theme, it is simple and neat. I’m trying to have the number of catagories follow the catagory listing. When I modify the entry in sidebar.php to:

    wp_list_cats(’optioncount=1′);

    I get the number of posts in the catagory below the catagory name, not to the right of it. Any ideas?

    Thanks,

    Nate

  1. 22. headsetop | May 12, 2007 #

    @ Nate

    Open style.css and look for this code:

    #menu ul li a {
    display: block;
    width: 100%;
    }

    Change it to this:

    #menu ul li a {
    display: inline;
    width: 100%;
    }

    Changing the display from “block” to “inline” will put the number right next to the categories, however, ensure that this is a line break (usually by placing the code within a UL or OL) between two categories.

  1. 23. Nate | May 13, 2007 #

    Headsetop,

    Thank you very much. That worked like a charm. And thanks for not commenting on my poor spelling of category in the previous post.

  1. 24. CJ Williams | June 13, 2007 #

    Hello hso ~ hope all is well with you.

    I am trying to make changes, insert, “keywords” into the blog ~ as we do in our other websites ~ but can’t make sense of the Wordpress advice, and can’t see how to do it in the Tree template ~ can you help?
    We would like to put in keywords that are relevant to our site ….eg. “distance learning” “management courses” etc, etc, but can’t see how / where to do this ….

    if you can help ~ many thanks !! CJ

  1. 25. CJ Williams | June 13, 2007 #

    Hello hso

    please ignore my last question …. sent my original question (correctly) to Tree V1 and then checked for your response in V2 - my mistake CJ

  1. 26. YEPYENİ BİR BAŞLANGIÇ » ufukeskici.com 1 Yaşında :) | September 9, 2007 #

    [...] Tema konusunda da bir değişikliğe gittim ve ziyaretçiler tarafından çok beğenilen Tree isimli temadan vazgeçtim. Bundan sonra bu temayı kullanacağım. Böylelikle hem önceki temada karşılaştığım birtakım teknik sorunları da aştım hem de siteme yeni bir görünüm kazandırmış oldum. Kısa bir süre içinde de yeni eklentilerle siteyi zenginleştirmeyi düşünüyorum. Tek sorun şu ki önceki temayı kendim Türkçeleştirmiştim, bu temayı Türkçeleştirmek için zaman bulabilir miyim bilmiyorum. [...]

  1. 27. sundancemoods | February 27, 2008 #

    I love this theme (tree v-2), however, I am missing at the bottom of the page a “next page” or “previous page” option? Can you no longer scroll through pages in tree v-2?
    Thanks for your help :)

  1. 28. hso | February 29, 2008 #

    @ sundancemoods

    Refer to this comment.

  1. 29. sundancemoods | March 1, 2008 #

    Thank you! I have one more question. In Firefox the layout looks perfect but in IE, the sidebar is pushed below the posts. Is there something I can do so it looks right in both browsers? Thanks, again!

  1. 30. kmunoz | May 22, 2008 #

    I MEANT to post this here.

    Just wondering how I can activate my sidebar widgets. Everytime I try to I get this: Plugin could not be activated because it triggered a fatal error. What do I do?

  1. 31. hso | May 22, 2008 #

    @ kmunoz

    I suggest you upgrade your WordPress install that will automatically take care of the widget issue because the newer version of WordPress (v 2.5.1) has built in widget features.

    Also, if a specific plugin is causing the issue, visit the plugin author’s site to see if a newer version is available, unlike the themes, plugins tend to be more susceptible to failure due to version changes.

  1. 32. CioN | May 31, 2008 #

    How can translate to spanish this version like the first version??

    thanks

  1. 33. CioN | June 2, 2008 #

    and another question

    how can I do to image header link to home?

  1. 34. hso | June 3, 2008 #

    @ CioN

    Unfortunately this theme was not created with translation in mind, so there is no easy way to do but to go line by line and change everything from English to Spanish.

    As for linking the whole header image to home, the easiest way to do it using XHTML/CSS only is to open header.php and look for:

    <div id=”header”>
    <a name=”top”></a>
    <h1><a href=”<?php bloginfo(’url’); ?>”><?php bloginfo(’name’); ?></a></h1>
    <p><?php bloginfo(’description’); ?></p>
    </div>

    Add the following within the ID header:

    <a href=”<?php echo get_settings(’home’); ?>” class=”block”> </a>

    Your final code shoudl look like this:

    <div id=”header”>
    <a name=”top”></a>
    <h1><a href=”<?php bloginfo(’url’); ?>”><?php bloginfo(’name’); ?></a></h1>
    <p><?php bloginfo(’description’); ?></p>
    <a href=”<?php echo get_settings(’home’); ?>” class=”block”> </a>
    </div>

    Then open style.css and add this at the very bottom of the stylesheet:

    #header .block { position: absolute; top: 0; left: 0; width: 100%; height: 100%; cursor: pointer; text-decoration: none !important; }

    That hack should do it.

  1. 35. CioN | June 6, 2008 #

    thanks,

    to translate I change everything line by line without problems, the question only was to work faster

    great theme,simple and smart

    I’m changing some things and I will use in the future in my web ;)

  1. 36. CioN | June 10, 2008 #

    another question,

    how can I do to center all theme on screen??

    I read about wrapper, but I don’t know how make it

    thanks again

  1. 37. hso | June 10, 2008 #

    @ CioN

    This theme is center positioned. It is usually accomplished by setting the main div that wraps the whole theme, in this case the “body” to a margin such as

    margin: 0 auto;

    The “auto” sets equal margin on both the left and right positioning the theme to the center.

    In some browsers, in addition to the margin, you can set

    text-align: center;

    to help it position to the center.

  1. 38. tester | July 14, 2008 #

    I like this theme very much, very clean design!

    All the answers I was looking for seems to be all here :)

    But one, how do I add a ‘Home’ link under the page listings?

    Thank you and keep it up!

  1. 39. tester | July 14, 2008 #

    An oh yeah, one more thing, the sidebar after I edited some stuff turned out wonky in IE7 but okay in Firefox.

    Take a look using IE: http://blogtesting.site88.net

    Please help. Thank you!

  1. 40. hso | July 15, 2008 #

    @ Tester

    The home page is not a static page, it is auto generated based on all the content you want displayed in it, so you will NOT find it in the pages link under WordPress admin.

    Also, I checked with IE7, looks good, so I am guessing it is IE 6 or older where the issue is? What changes caused it to break? A plugin or CSS change?

  1. 41. Tester | July 15, 2008 #

    I’ve fixed the problems yesterday. It was something to do with the main content area margin or something related. Before it was fixed, the sidebar was pushed half way down in IE7, but it’s fine now after some tweaking.

    To add the Home link, I used a plugin to do that, something Wordpress should make as a default option :)

    But… the only problem now is… the Wordpress editor is stuck in HTML view, i can neither change it to the normal view, nor can I change the permalink… bother bother.

    Please help, thank you!

  1. 42. Tester | July 16, 2008 #

    Sorry for quick comments in succession, but the editor-stuck-in-html-view problem seems to be theme related.

    When I switched to Horacio’s Fontella theme, the editor was back to its normal self, weird. :(

  1. 43. hso | July 16, 2008 #

    @ Tester

    Themes do not affect WordPress admin functions such as HTML or Visual options. One way to check is to deactivate all plugins and widgets, then switch themes and see if the problem persists, I think the issue is either plugin or widget related.

  1. 44. Tester | July 16, 2008 #

    I deactivated all the plugins, removed all the widgets, but still nothing changed in the editor. Still stuck in HTML view…

    When I switched theme, voila, it was back to normal. Could it be that I accidentally modified something in the theme? Sigh.

    Or should I just upgrade to Wordpress 2.6?

  1. 45. hso | July 16, 2008 #

    @ Tester

    If the theme is indeed causing the editor to go wacky, then upgrading will not do much, however, it is recommended to do so. As for the theme, if you feel that something was modified then simply make a copy of the edited file, then replace it with the original file and see if it makes any difference.

  1. 46. Tester | July 17, 2008 #

    Aha, found out that it is indeed theme related, I probably did some modification which broke the editor.

    After uploading the original theme, the editor worked fine again. So now I guess I have to upload one file at a time to find the culprit… :(

  1. 47. hso | July 17, 2008 #

    @ Tester

    If you need helo with the code, write to me via the contact form.

  1. 48. Tester | July 18, 2008 #

    Woohoo! I found out the culprit!

    It’s a mixed news though. I added some code into the ‘functions.php’ file to remove certain meta data from the sidebar so that only ‘Log In’ would only appear.

    Could it be because the code is ‘Sandbox’ related?

    And oh yeah, one more thing, is it normal to have only 1 text widget? Before 2.5, there was an option to show as many as 9 widgets…

    Sorry for this long comment…

    ‘widget_meta’,

    ‘description’ => __( “Log in/out and administration links (Sandbox)”, “sandbox” )

    );

    wp_register_sidebar_widget( ‘meta’, __( ‘Meta’, ’sandbox’ ), ‘widget_sandbox_meta’, $widget_ops );

    unregister_widget_control(’meta’);

    wp_register_widget_control( ‘meta’, __(’Meta’), ‘wp_widget_meta_control’ );

    }

    // Runs our code at the end to check that everything needed has loaded

    add_action( ‘init’, ’sandbox_widgets_init’ );

    ?>

  1. 49. hso | July 18, 2008 #

    @ Tester

    Deleting the meta list will nto cause any issue. But adding the code above might because it is looking for a functions file that came with the Sandbox theme. So what exactly do you want to do with the meta?

    Also, you can add an many text widgets as needed, there are no limits anymore. On the “Widgets ” page, just hit the add button next to “Text” and it will add a new one.

  1. 50. Tester | July 18, 2008 #

    I copy pasted the code above without modifying it, I didn’t know how it really worked. I wanted the meta to only display the ‘Log In’ link, excluding all the ‘RSS’, Wordpress, etc links. It worked but I didn’t know which part of the code to change to make it fully compatible with ‘Tree2′ which explains the broken editor.

    Maybe you could help a lil’ in modifying the code? Thank you.

  1. 51. hso | July 18, 2008 #

    @ Tester

    Email me via contact page and I will reply with the details I will need. You can then email me the files and I will fix it for you.

  1. 52. Pau Garcia i Quiles | July 23, 2008 #

    I like the theme very much but when you click on a category or month, it shows a listing of the posts. Is it possible to show the posts with their contents, just like the default theme does?

  1. 53. hso | July 26, 2008 #

    @ Pau Garcia I Quiles

    Just follow instructions in this comment.

  1. 54. kaushal | July 26, 2008 #

    i m using this template. However i m finding problem with page navigation. I can see only 3 post on the blog page. How do I see my older entries.

  1. 55. kaushal | July 27, 2008 #

    you need to add navigation in index.php
    after the add the following

  1. 56. hso | July 27, 2008 #

    @ Kaushal

    Check the setting for number of posts to display in WP Admin > Setting > Reading and make the changes at “Blog pages show at most” options.

    As for navigation, I am not sure what navigation you are referring to? The one at the bottom which says previous and next posts?

  1. 57. çağrı | November 2, 2008 #

    thanks for publishing this theme with us.
    your theme is a really useful and clean.
    i’ll look for your news with your rss actions.

    have a good works with happy things and poeple.

  1. 58. BEE | January 2, 2009 #

    Hi,
    From several template i have try, my choice falls on yours. I love it and i use it. I’m waiting for Tree v3 if any :)

Have Your Say »

(Required- use your name, not keywords)

(Required- will not be published)

(Optional)

Use SimpleCode while pasting codes.