Subscribe in a reader - Subscribe via Email - 1917 Subscribers and Counting!!!

World of information, opinions, cricket and technology.

How to add Comment Link in Single Post – Wordpress

Thursday, January 15th, 2009

Have you noticed Home Page of this blog? On the right of each Post Title you will see a balloon image which shows number of comments for the post. This is a hyper link, if clicked will take you to the comments section of the post.

Check right top of the image

Check right top of the image

Most of the themes comes with this feature. My theme also has these feature.

Now, I wanted to display the same type of Comments Link in Single Post.

This is what I did, I opened index.php theme file. Found the following code and copied it.

 <div class="comm"><span>< ?php comments_popup_link('0', '1', '% '); ?></span></div> 

Then, I opened single.php and pasted the code just above the title and saved the file.

I then opened the post in the browser to see the whether the comment link is appearing in the Single post or not.
(more…)

How to implement Threaded Comments in Wordpress Themes

Tuesday, December 16th, 2008

In Wordpress 2.7 Features, a new feature – Threaded Comments is introduced.

The problem is that most of the wordpress bloggers are facing is that their theme doesn’t support Threaded or Nested Comments.

To check whether Threaded Comments is supported by your current theme or not, Follow the below steps:

  1. Upgrade Wordpress is to 2.7 version, if not yet upgraded.
  2. Login to Wordpress admin and go to Settings -> Discussion
  3. Check on “Enable threaded (nested) comments ‘n’ levels deep”.
  4. Click Save changes to enable Threaded Comments.
  5. View any post of your blog that contains few comments.

If you see a Reply link after each comment like shown below, then your Wordpress Theme supports Threaded Comments otherwise it doesn’t support:

You will see reply links for every individual comment

You will see reply links for every individual comment

My current theme doesn’t support it. I have made some changes to comments.php and style.css to support Threaded Comments. But, the changes are not yet live on my blog. I have done whole testing on my Local PC and the screenshot is taken from there. I need to do little bit of tinkering in CSS. By the way, if you are new to CSS then Learn CSS by reading this Book. Download It Free!

Continue reading this post, To implement Threaded Comments feature in your Wordpress theme (more…)

Moderate blog comments from your Desktop!!

Friday, October 31st, 2008
Two comments awaiting for moderation on my blog!

Two comments awaiting for moderation on my blog!

To moderate blog comments, Most of us login to wordpress admin and check for any new comments awaiting to be moderated.

I discovered couple of days back that now there is no need to check wordpress admin every hour to see whether there are any new comments or not.

All it takes is a wordpress plugin and an application. The application sits in your Desktop – System tray and notifies whenever there is a new comment made on your blog, something similar to yahoo messenger or Gtalk.

Isn’t great?

The Wordpress plugin is Moderator. and is written by Daniel Dura

Moderator is a combination of a WordPress plugin and an Adobe Air Application.

Adobe AIR application will sit on your desktop in system tray:

  1. Viewing unmoderated comments.
  2. Dock and system tray notifications of the number of unmoderated comments.
  3. Accept, delete, and spam comments from within the desktop client.
  4. Close application window, or minimize it to the system tray while running.
  5. Shows the Gravatar icons for the user who posted the comment.

Install and activate the plugin, then download and install the Adobe Air application. Once the installation goes smoothly, you will see a black colored window appearing. Just enter wordpress username and password. Its Done!!
(more…)