Tag: threaded comments

Simplish version 2.1.5

Posted by – February 5, 2009

Simplish 2.1.5 spruces up support for WordPress version 2.7 features, and is only compatible with WordPress versions ≥ 2.7. The changes are focused on complete support for features, removing compatibility code for older WordPress versions, and fixing a few bugs.

  • Auto-generated post classes (and “sticky” post support): Use post_class() everywhere but the page template
  • Fix a dangling </a> that slipped into the 2.1.4 release (validation)
  • Fix excess vertical spacing in content area ol / ul li elements (thanks Demetris @ op111.net)
  • Eliminate some redundant or over-specified CSS rules for ol / ul li elements
  • Switch to new table styling, derived from Gesso, and eliminate code adopted from Blueprint. Remove Blueprint license file and NOTICE note.
  • Use new wp_logout_url() in sidebar logout link
  • Replace manual includes with new get_search_form()
  • Remove the ocomments.php file, and much compatibility code from functions.php (removes support for wp < 2.7)
  • Replace wp_list_pages() calls with new wp_page_menu() to allow in-function “Home” link

Download Simplish version 2.1.5 here, or see it soon in the WordPress themes directory.

Threaded Comments Live

Posted by – February 1, 2009

With the version bump of the Labs/blogs WordPress-µ software to 2.7, we have threaded comments running live here with Simplish 2.1.4, obviating the (regular WordPress) site that had served that demo.

A version 2.1.5 of Simplish will be along soon that eliminates the WordPress version 2.6 compatibility code, and is compatible only with WordPress ≥2.7.

Simplish version 2.1.4

Posted by – December 12, 2008

Simplish 2.1.4 is an update to support WordPress 2.7, including the new threaded comments feature.

  • Support WordPress 2.7′s threaded comments.1
  • Add compatibility comments template for WordPress ≤ 2.6.5.
  • Link to comments goes to heading of comments list (instead of to first comment in list).
  • Fix silly feed:// typo in (default) sidebar syndication links (thanks eighty4.se).
  • Fix “comments” id and class to not have same name (introduce “commentslist”).
  • Use smaller 32×32 gravatar for comment author.

Download Simplish version 2.1.4 here, or see it soon in the WordPress themes directory.

1 – Threaded comment support has not yet been added to WordPress-mu, the software this blog and the Simplish Demo run atop. Until it is, you can check out Simplish’s rendition of threaded comments at a test site.

Threadbare no longer (Simplish 2.1.4RC)

Posted by – November 27, 2008

As mentioned in comments on my original mild objection, I’ve been convinced that threaded discussions, new in the upcoming WordPress version 2.7, are a good value at the price. So today I slapped support for the feature into Simplish. This version of the theme should be considered “beta” quality, just like the new WordPress features on which it’s built. Both are subject to change before final release.

Demo
http://labs.utopian.net/who/josh/wp-svn/?p=1
Code
simplish-2.1.4RC.tgz

The demo shows a “jacob’s ladder” style for the comments/replies layout, where both left and right margins are indented per-thread-level. It’s an (experimental) attempt to ease the “comment chaos” feeling a deeply-threaded discussion can give.

A special thanks to Otto for his comments and his indispensable threaded comments getting-started doc.
More

Not about JavaScript

Posted by – November 15, 2008

In a context completely unrelated to “threaded” discussion comments on blog posts, Rob Pike once wrote:

Threads are like salt. I like salt, you like salt, we all like salt. But we eat more pasta than salt.

Implementing (what will eventually be) WordPress 2.7′s new threaded comments is not difficult, and doing so yields a moderately useful new organization element: threading, or individual replies, similar to the presentation of discussion forums, many newsreaders, the Gmail message list, or the Twitter @. This post by Ottodestruct has plenty of info to get you started against the latest subversion tip to get threaded comments working in your theme.

Many themes are built with, even around, JavaScript. If Simplish already loaded even one script, we’d certainly add the cool new threads. But Simplish is supposed to be simple, and it is supposed to be a feature that the theme loads no JavaScript in a default configuration.

I will probably link to a quick alpha Simplish with cut-and-paste test code for a threaded comments template shortly, but I’m interested in opinions right now.