70 responses to “Making your theme’s comments compatible with WordPress 2.7 and earlier versions”

  1. Mayur Somani

    Thanks a lot!

    Can you please share some of the other issues which must be kept in mind while working on themes that are both 2.6 and 2.7 compatible.

    Thank you for your time.

  2. Mayur Somani

    That would be great!!
    Thanks.

  3. BoltClock

    It looks like I’m going to have to start work on BoltPress 2.1’s code soon. I can’t bear to part with my really awesome 2.0 design so I’ll just recode it for WordPress 2.7.

    I also have Thistle to worry about, and I’m not even sure about my Sandbox designs anymore :S

  4. Lyndi

    Just when I thought I was going to need long conditional tags. Thanks for this.

  5. J Mehmett

    Great tip, Justin. Thank you very much.

    WP2.7 messed many things from the front end (Theme) to the admin panel.

  6. Nathan Rice

    Wow, this is SO strange. This is almost EXACTLY the same method I employed 2 weeks ago to make a future free theme of mine 2.5-2.7 compatible.

    Great minds think alike, eh? :-)

  7. Otto

    That’s a pretty clever approach that I had not considered. Nice and clean.

  8. Weekly Links #25 | GrantPalin.com

    [...] Making your theme’s comments compatible with WordPress 2.7 and earlier versions Good to know, what with the approaching release. [...]

  9. WordPress 2.7 Comments Enhancements

    [...] of the more interesting ways I’ve seen to use this is to have the “old comments” php in a separate file [...]

  10. How To: Make Your Comments File Compatible with WordPress 2.7 | WordPress Hacks Log

    [...] Are you looking to make your WordPress installation compatible with WordPress 2.7?   Justin Tadlock recently featured a great post explaining how to make your theme’s comments compatible with WordPress 2.7. [...]

  11. Jauhari

    Wow, thanks for sharing Justin.. it’s perfect

  12. WordPress 2.7 Updates — WPCandy — WordPress Themes, Plugins, Tips, and Tricks

    [...] survey regarding all the new features of WordPres 2.7, where you can provide additional feedback. – Make your themes comments compatible with WordPress 2.7 and earlier versions. – WordPress 2.7 Comments Enhancements: An in-depth post on the changes WordPress 2.7 brings to [...]

  13. All you wanted to know about WordPress 2.7 | Featured | WereWP

    [...] In this latest release you will be able to have threaded and paged comments, like on Digg. Well, you got it by yourself, that means a bit of work for developers while adapting your own WordPress theme to the new comment system. Can you do that? Yes, thanks to the great tutorial by Otto! Justin Tadlock has also proposed us a method to create a WordPress 2.6 and 2.7 compatible theme! [...]

  14. The Ambuscade

    [...] Making your theme’s comments compatible with WordPress 2.7 and earlier versions (tags: obeertym) [...]

  15. Paleo Pat

    Anyone wanna edit my theme? I’m clueless.

    -Pat

  16. Links for 4th November 2008 | Velcro City Tourist Board

    [...] Making your theme’s comments compatible with WordPress 2.7 and earlier versions [...]

  17. Are your theme’s comments WordPress 2.7 compatible? | Wordpress Blog NL

    [...] Making your theme’s comments compatible with WordPress 2.7 and earlier versions.: If you are a theme designer or author, you need to know that your legacy theme’s comments page will not be compatible with WordPress 2.7 Justin Tadlock has written up a simple (and clean) procedure to make the comments page compatible with WordPress 2.7 and still be backwards compatible with slightly older version of WordPress. [...]

  18. Ajustando seu tema para o Wordpress 2.7 | bernabauer.com

    [...] manter o tema compatível com o 2.7 e com o 2.6 o bacana é ver este artigo. Já para entender as alterações necessárias no tema para usar o [...]

  19. WordPress 2.7 Comment Template | Pinoy Teens

    [...] Comment Template and the features it brings like Comment Paging, Comment Threading and even more.Make your Comment Templates 2.7 and backwards compatibleDetailed Post about adding the Comment [...]

  20. Are your theme’s comments WordPress 2.7 compatible? | BlogBroker24-7

    [...] Making your theme’s comments compatible with WordPress 2.7 and earlier versions.: If you are a theme designer or author, you need to know that your legacy theme’s comments page will not be compatible with WordPress 2.7 Justin Tadlock has written up a simple (and clean) procedure to make the comments page compatible with WordPress 2.7 and still be backwards compatible with slightly older version of WordPress. [...]

  21. Tips on How to get ready for WordPress 2.7 | Earning Money Online Guide and Tips - davcheong - Blog Tips Help On How I Make Money Online ::

    [...] reference of how to enhance your comments file, from Justin Tadlock’s early preparation for 2.7 and Otto’s WordPress 2.7 Comments [...]

  22. Are your theme’s comments WordPress 2.7 compatible | PATRONIT.NET

    [...] Making your theme’s comments compatible with WordPress 2.7 and earlier versions.: If you are a theme designer or author, you need to know that your legacy theme’s comments page will not be compatible with WordPress 2.7 Justin Tadlock has written up a simple (and clean) procedure to make the comments page compatible with WordPress 2.7 and still be backwards compatible with slightly older version of WordPress. [...]

  23. WordPress 2.7 Threaded Comments

    [...] I have been asked by many people if my Revolution themes will be updated to accommodate WordPress 2.7 and Threaded Comments. The answer is yes, with thanks to a few lattes, 2 1/2 hours and posts that I’ve read from Otto and Justin. [...]

  24. Weblog Tools Collection: Are your theme’s comments WordPress 2.7 compatible? | Aslifm Blogu

    [...] Tools Collection: Are your theme’s comments WordPress 2.7 compatible? Kas.08, 2008 in WP-RSS Making your theme’s comments compatible with WordPress 2.7 and earlier versions.: If you are a theme designer or author, you need to know that your legacy theme’s comments [...]

  25. WordPress Wednesday News: WordPress 2.7 Beta 2, Danger WordPress Faker, and More WordCamps | The Blog Herald

    [...] Justin Tadlock – Making your theme’s comments compatible with WordPress 2.7 and earlier versions [...]

  26. WordPress 2.7 News « Lorelle on WordPress

    [...] Justin Tadlock – Making your theme’s comments compatible with WordPress 2.7 and earlier versions [...]

  27. Lorelle on WP: WordPress 2.7 News | Aslifm Blogu

    [...] Justin Tadlock – Making your theme’s comments compatible with WordPress 2.7 and earlier versions [...]

  28. How to: make your comments template compatible with WordPress 2.7 and older versions

    [...] to Justin Tadlock for this awesome [...]

  29. digitalrendezvous | blog - Crazy Horse

    [...] really nice information for themecreators or people who made their own theme can be found here at justintadlock.com and here at ottodestruct.com [...]

  30. Wordpress 2.7 Checklist

    [...] Making your theme work in both 2.7 and other versions [...]

  31. WordPress 2.7 Updates | Mamma Mac.com

    [...] survey regarding all the new features of WordPres 2.7, where you can provide additional feedback. – Make your themes comments compatible with WordPress 2.7 and earlier versions. – WordPress 2.7 Comments Enhancements: An in-depth post on the changes WordPress 2.7 brings to [...]

  32. WordPress Wednesday News: 2.7 Delayed, Sneak Peak Video, Help WordPress iPhone, WordCamps | The Blog Herald

    [...] Justin Tadlock – Making your theme’s comments compatible with WordPress 2.7 and earlier versions [...]

  33. Pribesagtiese

    i want to share my free wordpress theme here.

    Deleted by admin.

  34. 泉州生活网

    顶~~~~我叫泉州生活网,希望能交个朋友哈!

  35. WordPress Wednesday News: Beta 3 Released, WordCamp Australia, No WordPress 2.6.4, and More | The Blog Herald

    [...] Justin Tadlock – Making your theme’s comments compatible with WordPress 2.7 and earlier versions [...]

  36. 让 WordPress 主题评论模板同时兼容 WordPress 2.7 及早期版本 - WordPress 非官方中文站

    [...] 原文:Making your theme’s comments compatible with WordPress 2.7 and earlier versions by [...]

  37. WordPress News: WordPress 2.7 New Login, WordCamp Australia, WordPress 2.6.5 Security Update, BuddyPress, and More | The Blog Herald

    [...] Justin Tadlock – Making your theme’s comments compatible with WordPress 2.7 and earlier versions [...]

  38. WordPress 2.7 Release News and Links « Lorelle on WordPress

    [...] Justin Tadlock – Making your theme’s comments compatible with WordPress 2.7 and earlier versions [...]

  39. Shanker Bakshi

    What about the avrious themes that you offers?

  40. Gestion des commentaires pour wordpress 2.6 et wordpress 2.7

    [...] convient de préparer le changement de version pour son template. Justin Tadlock nous explique dans Making your theme’s comments compatible with WordPress 2.7 and earlier versions comment s’y préparer : par l’ajout tout simple d’une petite fonction de filtre [...]

  41. showgirl » Blog Archive » 让 WordPress 主题评论模板同时兼容 WordPress 2.7 及早期版本

    [...] 原文:Making your theme’s comments compatible with WordPress 2.7 and earlier versions by [...]

  42. WordPress 2.7: Personnaliser l’affichage des commentaires - Emmanuel GEORJON

    [...] troisième solution, proposée par Justin TadLock me semble la plus [...]

  43. Come rendere compatibile il vostro vecchio tema con wordpress 2.7 | Pillole
  44. WordPress 2.7 Upgrade Tips « Lorelle on WordPress

    [...] My WordPress Theme Will Break: There is very little that will impact WordPress Themes in this new version, outside of WordPress Plugins that interact with WordPress Themes, especially with comments. WordPress Themes will be even better protected in future versions with the Parent/Child Theme feature (your changes are protected during upgrades) and easy auto-updating of Themes. If your Theme features customization to the comments area, see Migrating Plugins and Themes to 2.7 and Justin Tadlock’s “Making your theme’s comments compatible with WordPress 2.7 and earli…. [...]

  45. WP 2.7 Blog Party is ON! | Human3rror - Where Typos are Part of the Equation

    [...] Justin Tadlock – Making your theme’s comments compatible with WordPress 2.7 and earlier versions [...]

  46. Separating Comments and Trackbacks in WordPress - The Answer « Lorelle on WordPress

    [...] News: For information on the new structure of comments and trackbacks in WordPress 2.7, please see Justin Tadlock – Making your theme’s comments compatible with WordPress 2.7 and earlier versions and Sivel – Separating Pings from Comments in WordPress [...]

  47. Lorelle on WP: WordPress 2.7 Upgrade Tips | Aslifm Blogu

    [...] My WordPress Theme Will Break: There is very little that will impact WordPress Themes in this new version, outside of WordPress Plugins that interact with WordPress Themes, especially with comments. WordPress Themes will be even better protected in future versions with the Parent/Child Theme feature (your changes are protected during upgrades) and easy auto-updating of Themes. If your Theme features customization to the comments area, see Migrating Plugins and Themes to 2.7 and Justin Tadlock’s “Making your theme’s comments compatible with WordPress 2.7 and earli…. [...]

  48. WordPress 2.7 Upgrade Tips | Make Money From Blog

    [...] My WordPress Theme Will Break: There is very little that will impact WordPress Themes in this new version, outside of WordPress Plugins that interact with WordPress Themes, especially with comments. WordPress Themes will be even better protected in future versions with the Parent/Child Theme feature (your changes are protected during upgrades) and easy auto-updating of Themes. If your Theme features customization to the comments area, see Migrating Plugins and Themes to 2.7 and Justin Tadlock’s “Making your theme’s comments compatible with WordPress 2.7 and earlier versi…. [...]

  49. WordPress 2.7 技巧、插件与资源精选 - WordPress 非官方中文站

    [...] Making Your Theme Comments Compatble with 2.7 & Earlier Versions(让你主题兼容WordPress 2.7 和以往版本) Justin Tadlock 讨论的这个很好的话题,告诉我们如何让你的主题同时兼容 WordPresss 2.7,并能回溯兼容早期版本。适合主题开发者。 [...]

  50. Sarah

    Thanks so much for this.
    I’d like to second Mayur Somani’ request to please share also other issues which must be kept in mind while working on themes that are both 2.6 and 2.7 compatible.

  51. dodo

    Hello,

    I have install wp 2.7 but the theme is not compatible with threaded comments and i add the up code in functions.php from theme and change from legacy.comments.php sin comments.php but i don t see a change in my post comments. What is wrong what i need to do more?

    Thanks

  52. Zack

    Quite simple and useful, thanks a lot.

  53. Urdu Sms

    nice thanks man….

    lahorimela

  54. 0p0

    and do you know how to make threaded comments visible and “answerable” in the comments pop window???

  55. 0p0

    yeah… I opened a thread about it in the codex forum. If you find a way let me know, I hate threaded comments do not show up in the popup :(

    Thanks for your answer :)

  56. 0p0

    by the way the thread is this one :)

    http://wordpress.org/support/topic/256848?replies=1

    lets see if someone know of a way to resolve it :D

    Cheers!

    0p0

  57. Laurens

    Hi,

    currently I’m working on some modifications on a blog. The blog is based on WP2.7 and has a custom theme, made by somebody else.
    Now I’m trying to get the threaded comments feature working, and I’ve used your tutorial but it isn’t working. I’ve added the line to the header.php file and the lines in the comments.php file, but it’s still not working.
    An example can be found here: http://www.software-innovators.nl/2009/03/29/het-nut-van-pauzes/
    Could you take a look at the source code of that page, please? Maybe you can find what is wrong with the structure or something? The blog’s content is Dutch, but the HTML page structure is English.

    Kind regards,

  58. Laurens

    You are right about me not really reading your tutorial. I think I mixed you up with somebody else while browsing through several tutorials.

    The tutorial I actually meant was this one:
    http://ottodestruct.com/blog/2008/09/29/wordpress-27-comments-enhancements/

    Further advice is still welcome of course!

  59. 0p0

    @Laurens.

    You have double “respond” id, ids are meant to be used only once in a page render. I suggest you take out the id respond from the , the last thing to have threads working 100% is to have a “cancel comment” link buit in WP by adding this tag to the end of the comment form, inside of it:

    http://codex.wordpress.org/Template_Tags/cancel_comment_reply_link

    I hope it is useful info :)

  60. 0p0

    remove “respond” id ***from the h3 tag***

  61. 0p0

    all you need to have threaded comments on 100% + the “cancel comment” link issued above:

    http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7/Enhanced_Comment_Display

Leave a Reply

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution.

WordPress-o-Sphere

  • WordPress 2.8 – "Baker"
    WordPress 2.8 adds hundreds of bug fixes, adds cool functions for themes, boasts a new widget API, and makes custom taxonomies easy for end users.
  • WeRockWP
    WeRockWP recognizes and showcases the individuals who contribute much to the WordPress community. These individuals are called WordPress Rockstars.
  • wpazo
    The all-signal, no-noise, source for the best WordPress stuff.
  • BuddyPress 1.0 has arrived
    The long-awaited BuddyPress (a set of plugins that turns a WordPress MU install into a social network) has been officially released.
  • BuddyPress for WordPress (not MU) coming
    It looks like BuddyPress will also be released for normal WordPress installs (not just WPMU).