Hemingway for Wordpress 2.5

Hemingway is a very popular and influential theme for Wordpress.

This is a port of Hemmingway for Wordpress 2.5.

Please try it and report any bugs found.

Features:

Download: hemingway-2.5.6.zip.

TODO:

ChangeLog:

2.5.1
Fixed header syntax errors. Added comments option to static pages.
2.5.2
Reimplemented options screen: theme selector and full posts on main page.
2.5.3
4th sidebar for single post page. Showing post author on the post page. Option to display random quotes/taglines under header supporting Random Quote, Stray Random Quotes and Qotd.
2.5.4
Added 5th sidebar for sub-header. Removed separate option for random headlines - use sidebar widget. Descriptive names for sidebars.
2.5.5
Layout fixes.
2.5.5
Fixed page templates. Added Tag Cloud Archive page.


  1. Marcin April 7th, 2008
    7:45 CEST

    W header.php brakuje frazy “php” w liniI 18:

    Jest:
    style ?>

    Powinno być:

    style; ?>

    Twój serwer nie ma włączonej kompatybilności dla krótkich tagów.

  2. smoku April 7th, 2008
    8:53 CEST

    Thanks.
    2.5.1 is on the way (this evening).

  3. Oseary April 9th, 2008
    18:08 CEST

    Ahoy! I love the (now) compatible hemingway for 2.5…

    I’ve “tweaked” it a bit on my site (see site link) to add the tag cloud, as well as a few quirky things (non-technical) for my site.

    Any chance you can email me or leave a comment on my site letting me know when the new 2.5.1 is out?

    Thanks again for the great work!

  4. Gardner Cole’s Slapdash Jottings of a Virtuoso… » Blog Archive » Hemingway for Wordpress Version 2.5 April 9th, 2008
    18:12 CEST

    [...] you’re interested in using it for your WP 2.5 powered site, please go here and download [...]

  5. smoku April 9th, 2008
    23:20 CEST

    You don’t need to tweak the theme to add the tag cloud. This theme fully support widgets, so just add tag cloud widget to one of the sidebars (like I did here).

  6. Roberto Mateu April 11th, 2008
    6:03 CEST

    Thanks for the update!

    Finally I can change the_excerpt for the_content and get full posts on the front page.

    Thanks again.

  7. smoku April 14th, 2008
    23:45 CEST

    The Options page is done, so version 2.5.2 is out.

  8. Oseary April 23rd, 2008
    20:39 CEST

    I’m splittin’ hairs here and I don’t mean to, but I would like to request a feature. :-)

    I’m no coding guru, but I can do minor things like what I’ve done to my site already, but I need to know if it is possible to add an area directly underneath the blog title & tagline, but above the content, so I could put in a “random quotes” kind of thing.

    I really liked having it on my other theme, as it was alreay coded in, but in a totally different theme style.

    Is there any way to do this, or am I just outta luck? If so, is there any way you could coach me through, since it isn’t too tough I don’t think?

    Shoot me a comment or email, and lemme know!

  9. Oseary April 24th, 2008
    1:26 CEST

    Thank you kind sir! It goes with this plugin:

    http://www.zombierobot.com/wp-quotes/

    I don’t do anything too special with it, just a quirky bunch of quotes. Thank you so much!

  10. Oseary April 24th, 2008
    14:41 CEST

    You’re going to hate me because I’m bugging you lol, but I update to the latest version, and add a text widget to the “subheader” area for widgets with the following code:

    I’ve also tried:

    `’

    With no luck. I get no errors or random code on the page, it’s like it just isn’t pulling a random quote. I of course have the plugin enabled. :-)

    Any ideas?

  11. Oseary April 24th, 2008
    14:44 CEST

    Well, that didn’t work on the code pasting:

    Here’s the 1st bit:

    And the second:

    Of course without the space before the ? after the beginning brackets.

  12. Oseary April 24th, 2008
    14:45 CEST

    Delete these last three comments, I emailed it to you.

  13. Tomasz Sterna April 24th, 2008
    14:49 CEST

    I don’t really know how to put PHP code to the widget.
    I use http://www.italyisfalling.com/stray-random-quotes/ - it has a widget ready to put to the sidebar.

  14. Devlin April 27th, 2008
    17:11 CEST

    Hello,

    I’m having a problem with comments since I switched to this theme. One post’s comments are appearing on other posts, and some posts with comments showing none. Upon switching themes, all is returned to normal.

    It seemed like the comment file is cached, but not per-entry.

    If you know a solution, could you please email me about it?

    Thanks,

    Devlin

  15. Tomasz Sterna April 27th, 2008
    18:23 CEST

    I do see this problem on your blog.
    But I looked into the main page loop, and it is pretty standard and looks the same as every other theme. And I do not see the issue on this blog. I guess the problem is related to your local installation. Maybe some caching plugin interference?

  16. Randy April 28th, 2008
    17:52 CEST

    I had been using the widgetized version of Heminway from Ninja Monkeys!, and I just switched to your Hemingway 2.5. Thank you so much for offering this!

    I have a problem with the widgets that I think is related to the fact that I was using this other theme. I can add widgets to a sidebar just fine, but when I go back to the sidebar (selecting it from the dropdown and clicking “Show”), nothing is there. If I click “Save changes”, the widgets I had previously selected are now gone and replaced with (I think) a default block from the original Hemingway.

    Do you have any ideas?

    Thanks,
    ~randy

  17. Tomasz Sterna April 28th, 2008
    21:39 CEST

    I suspect this is caused by some plugin.
    Try disabling all plugins and see whether it helps. If so, reenable them one by one to find the one causing problems.

  18. Tomasz Sterna April 29th, 2008
    11:12 CEST

    The wrong comments count is a common problem after Wordpress 2.5 upgrade.
    http://wordpress.org/extend/plugins/comments-number-restore/ - the solution.

  19. ari syarifudin April 30th, 2008
    6:11 CEST

    It’s clean and perfect designs. I love it. Clean, simple, more functional.

    I don’t like with layout positions comment. It break others menu or important thing like Recent post, Recent comment.

    I need that Comment Post form positions near the footer, not in middle.

    For all, it ‘ s great job buddy. Thanks for your idea and developing

  20. Tomasz Sterna April 30th, 2008
    8:29 CEST

    I don’t really understand what exact problem you have.
    It looks like you’re experiencing a layout bug. Could you please illustrate it with screenshot?
    Maybe it’s a browser issue. I did test the layout only with Firefox.

  21. Devlin April 30th, 2008
    17:19 CEST

    I do see this problem on your blog.
    But I looked into the main page loop, and it is pretty standard and looks the same as every other theme. And I do not see the issue on this blog. I guess the problem is related to your local installation. Maybe some caching plugin interference?

    If I switch to another theme, the comments reappear. Additionally, disabling all of my plugins doesn’t do anything. I wonder what’s up. :(

  22. Randy April 30th, 2008
    17:47 CEST

    Thanks for suggesting disabling plugins; I found the problem and resolved it. (I apologize for not checking that first; I assumed the problem was with the other theme I was using.)

    I really appreciate your efforts in porting this theme.

    I am experiencing a small issue with the columns wrapping in Internet Explorer. (The original Hemingway suffered from this problem.) IE rounds percentages in a way that breaks floated columns. (Here’s a good article about it.) Try resizing the browser to the left and right, and you’ll see that sometimes the final columns gets pushed below the others.

    There is a way to fix this. Hemingway floats all the columns to the left and adds margin to all but the first column to move them a little to the right. They end up taking up 100%, which IE sometimes rounds to a little more than 100%. The trick is to float the final column to the right, not put any margin between the last and the next to last column, and keep the total less than 100%. There will then be an implied margin but it won’t cause the layout to break.

    In short, these are the things you can do to the theme to get it to work:

    1. Add a class of “final” to the third column of the ancillary menu and to the right-hand stories.
    2. Add the following CSS to the stylesheet:


    #ancillary .final,
    #home #primary.twocol-stories .final {float: right; margin: 0;}

    I hope that all made sense. Feel free to contact me if not.

  23. Randy April 30th, 2008
    18:11 CEST

    I also see a small bug if only a logged-in users can leave a comment. The last few lines of comments.php looks like this:

    That </code> <em>should</em> be displayed when all the time, so the lines should be switched to this:

    <blockquote><code>

  24. Randy April 30th, 2008
    18:14 CEST

    (Well, the comment box mangled my code. I have re-posted with brackets instead of angle brackets.)

    I also see a small bug if only a logged-in users can leave a comment. The last few lines of comments.php looks like this:


    [/div]
    [?php endif; // If registration required and not logged in ?]
    [?php endif; // if you delete this the sky will fall on your head ?]

    The [/div] should be displayed when all the time, so the lines should be switched to this:


    [?php endif; // If registration required and not logged in ?]
    [/div]
    [?php endif; // if you delete this the sky will fall on your head ?]

  25. Tomasz Sterna May 7th, 2008
    14:51 CEST

    Thanks for the layout fix. I’ve applied it to this blog. Could you check if it fixes the layout problem?

    And I do not agree with moving the DIV. DIV id=”comment-form” is enclosed in whole and the move would cut it and dangle the closing /DIV tag.

  26. Randy May 9th, 2008
    21:52 CEST

    It looks like you fixed the layout on the ancillary section, with the third column floating right. It works well in IE. I don’t think you made the change on the posts section, though; it looks like you added the “final” class, but the second column is still floating left and having the issue.

  27. Randy May 9th, 2008
    21:58 CEST

    Regarding the dangling div, I believe the opening of div is outside that conditional that checks if non-registered users are allowed to comment, while the closing of the div is inside this conditional. I created a test blog to show you the problem. Here’s a link:

    http://apps.randyhoyt.com/test/?p=1

    The footer and ancillary section on this page are not the right color; they are the darker color (#0C0C0C) of the comment box and not the lighter color they are supposed to be (#272727). This is because the comment box div gets opened but never closed when users must be registered to comment. When I log in, the div gets closed properly and the footer and the ancillary section are the correct color — that’s what tipped me off to the fact that the closing div was inside a conditional.

  28. Tomasz Sterna May 9th, 2008
    22:30 CEST

    Thanks for the demo.

    I fixed these and released 2.5.5.

  29. Jonathan Agyeman Jones May 14th, 2008
    23:01 CEST

    This is great! One request, could you add a style sheet / option that enables posts to be arranged as one a row, rather than two as it currently works on the main page.

    Thanks,
    JJ

  30. Alan May 18th, 2008
    2:45 CEST

    Thanks for this

  31. Benoit May 20th, 2008
    10:52 CEST

    Where I can modify Flexible number of posts??

  32. Benoit May 20th, 2008
    10:58 CEST

    I find! it’s an wordpress options.

  33. Dave June 1st, 2008
    19:03 CEST

    You’ve done a really great job.
    Unfortunately all I’m trying to fill the second or third columns with some widgets, every time the widgets remain in the first column. Also disabling all the plugins didn’t help.
    I’m using WordPress 2.5.1.
    I read all the comments, but sorry, I can’t get it running.
    Maybe you have a suggestion.

    Thank you very much for the cool theme.

  34. Tomasz Sterna June 2nd, 2008
    10:16 CEST

    On “Widgets” page you need to select “Column 2″, then press “Show” button. When the empty second column widgets sidebar is shown, you then may add widgets to it.

  35. Dave June 2nd, 2008
    14:39 CEST

    That was the way I did it. Still all the widgets were placed in the first column. May another idea?

  36. Dave June 3rd, 2008
    0:44 CEST

    Sorry. Now it works. After using Firefox (iceweasel) all went just fine. It seems that Konqueror caused the problem.

    Thank you very much once again, for your theme and for your help.

  37. Rocker June 20th, 2008
    12:19 CEST

    Fatal error: Call to undefined function: post_comments_feed_link() in /home4/rocker82/public_html/blog/wp-content/themes/hemingway-255/single.php on line 48

    You should look live this error here: http://www.davideanastasia.com/?p=223#comments (I will keep the page online only for few hours, ’cause I’m simply trying the new theme).

  38. Tomasz Sterna June 20th, 2008
    12:39 CEST

    Your page says: <meta name=”generator” content=”WordPress 2.3.2″ /> and this theme is for Wordpress 2.5+

  39. davideanastasia.com » Blog Archive » …a new blog, again! June 20th, 2008
    14:37 CEST

    [...] last version of WordPress (which I’ve been using for 3 years!) and to the newest version of Hemingway theme, which needs - in my opinion - only few minor changes on the style sheet, instead of K2 (too [...]

  40. Rocker June 20th, 2008
    14:39 CEST

    You’re right. I updated WordPress version and everything looks right. Thanks for your support! ;)

  41. Gaz June 22nd, 2008
    10:45 CEST

    I was previously using Ninjamonkey’s mod of H. Like this better, with the extra sidebar and subheader. But where do I change the number of posts of on the front page?

  42. Tomasz Sterna June 22nd, 2008
    15:42 CEST

    Wordpress Admin Panel -> Settings -> Reading -> Blog pages show at most X posts

  43. mrak June 23rd, 2008
    11:51 CEST

    I always liked hemingway

    I have two “feature” requests:

    a) is it possible to tweak css to have header area in one color, text (loop) area in another and footer like it is now; the thing is that text area when using black background works poorly with such small letters and I would like to make it light gray and text to be fully black

    b) is there a chance to make full tag cloud kind of page? (now I just have selected number of tags in my footer)

  44. Tomasz Sterna June 23rd, 2008
    12:24 CEST

    1. Couldn’t you just style #header #inside h1 and #header #inside p in your custom user.css?

    2. Will be in next release.

  45. Tomasz Sterna June 23rd, 2008
    13:55 CEST

    OK. Done. :-)

  46. mrak June 23rd, 2008
    19:25 CEST

    cool, that was fast :)
    you can see result on my web page

    the thing is that I had to add some css entries and I seem to miss some tags which will help me define titles for “about this entry” as well as for similar texts and recent comments (which are widgets I added)

    I have also modified tags.php and now have tag cloud with 350 tags

  47. Gaz June 24th, 2008
    4:24 CEST

    Many thanks…………I was looking at the PHP files………..Doh!

  48. Scott Semple June 28th, 2008
    0:17 CEST

    Hi. I just installed this theme and it’s working great. Thanks for the tweaks. Widget-capable is what I’ve been searching for.

    Quick question, after I installed, it now shows several posts on the main page. Ideally, I’d like to keep it to two posts as in the original design, but I can’t find where this option is. Can you direct me to it?

    Thanks!
    Scott

  49. Scott Semple June 28th, 2008
    6:51 CEST

    Found it. Please disregard. Thanks.

  50. Tomasz Sterna June 28th, 2008
    21:53 CEST

    I think I should add a note on theme options page.

  51. Mitch June 29th, 2008
    1:00 CEST

    Thank You for your Work.

    A feature request for the options page: Drop down selection for the number of post to display on the front page. Took me a while to go into the wp settings :D

    again, thanks

  52. Cedric M June 30th, 2008
    12:39 CEST

    Hey

    Great stuff, thanks!

    Suggestions:

    - max number of posts currently applies to all pages (front page, search results, categories, archives…) ==> use two different options?: one that would apply to the main page (defaulting to “2″), another one for all other pages that can be set much higher. Indeed, when using 2 posts per page, search results are a little bit weird with only 2 results shown (and requiring the user to navigate).

    - add an option to show posts on the front page one after the other (instead of side by side)

    Thanks!
    Cédric

Have your say

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>




Safari hates me