Personal Struggle With Threaded Comments
Wednesday, December 17th, 2008 | WordPress
Tags: wooden fish, WordPress
Few days ago, I upgraded Wooden Fish to WordPress 2.7, a release that received quite amount of praises prior to its official release, and also an upgrade that I was excited about. After a smooth upgrade on Wooden Fish (I crossed my fingers during upgrade and it worked!), I continued my work on the upcoming new theme. I want this new blog theme to be 2.7 compatible, especially incorporating the newly introduced feature, threaded comments. To write the new comments.php, I followed this guide on WordPress Codex, also the example comments.php from Otto is extremely helpful. I wanted a customized comment layout, so I used a custom callback function. This part can be confusing, so I recommend this post from Jeremy Clark. You can start out using the example function he provided.
However, after all the changes I still could not get the reply link to appear at the end of each comment. I examined every single line of code, and I was sure I committed no coding mistake. It really drove me crazy! I was clueless and frustrated. I left a comment on Jeremy’s blog, asking for his advice, and thank God he pointed out the problem. I forgot to enable threaded comments in the dashboard. What a stupidity! I feel a bit ashamed writing this out in public, but I hope this serves as a reminder to the rest. When you incorporate thread comments in your theme, make sure to enable threaded comment in Settings->Discussion.
December 18, 2008
3:53 am on Thursday
Thanks for the link and I’m glad I could help. No need to feel stupid, atleast you knew to ask. Most people will just go through changing random things and just make a bigger mess.
December 18, 2008
5:14 am on Thursday
Nothing to be ashamed of. Many times, we assume the problem must be something big and scary, when it’s really simple. :)
This kind of thing happens to me all the time, LOL!
Love the new theme, BTW. Great job.
December 18, 2008
8:12 am on Thursday
Hilarious. The exact same thing happened to me this week as I was tinkering with threaded comments on the redesign of my personal site. This post at ottodestruct.com was helpful, and so was the wp_list_comment() codex entry. In order to do anything cool I really needed to customize the comments display. Of course turning the option on in the admin is important too! :)
December 18, 2008
11:52 am on Thursday
Thanks guys! I guess sometimes when your mind dives into a problem so deep, you tend to neglect the obvious and simple solution.
December 18, 2008
9:36 pm on Thursday
Threaded comments are so great. I’ll look forward to using it. Write something controversial, and I’m sure it will get used! One time I wrote a note on Facebook about undecided voters. I ended up with 60 comments from my friends that I wish would have been threaded. Oh, and like I said before on an earlier comment, just so you know… this is April, from what was krisandapril.net. Do you remember me? :) I have to admit, it’s been a minute! I saw you post on Fragileheart’s site. I either originally found your site through hers or Trench’s site. Yeah, I think it was Trench’s. Have mercy! That was YEARS ago! LOL.
December 19, 2008
1:56 pm on Friday
April or Ayprel, I do remember you and I am glad you are back into blogging. Hope everything is going well in your life.
December 20, 2008
9:25 am on Saturday
It’s a great upgrade, and I’ll be finessing my homemade themes for a little while, exploring new features.
Yours is a fine example of a dark theme.
December 20, 2008
4:47 pm on Saturday
Thanks SRS! Wooden Fish will have a new look in 2009.
December 22, 2008
12:09 am on Monday
really should use this feature. Still using a plugin.
December 24, 2008
2:15 pm on Wednesday
Off Topic: Merry Christmas man! Have a great one!
December 24, 2008
3:49 pm on Wednesday
I’m ready for a new blog entry! ;-p
December 25, 2008
1:47 pm on Thursday
I guess I am a bit too late, but still merry Christmas to April and Christian!
December 28, 2008
10:17 pm on Sunday
hi george, i’ve tagged you (:
(see http://monapersonal.blogspot.com/2008/12/blog-tagging.html if you need more info)