Subscribe in a reader - Subscribe via Email - 1921 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 Add categories to Nav Bar

Wednesday, January 14th, 2009

Arun from BeFolks has asked me a question.

The question was “How to include categories on the Nav Bar”?

I thought if i blog the solution, It can also help other readers of this blog.

If you look at the Header section of this blog, you will see the Nav Bar. It includes pages and also some categories.

Categories in Nav Bar

You can see from the above, that i have included following 5 categories along with the some pages:

Now, the question is how do you do this? It is pretty simple. You need to have some knowledge in Wordpress and you should find out in which theme file your Nav Bar code is residing.

Instructions to Add Categories to Nav Bar

(more…)

Take BEFolks First Grand New Year contest and Win Prizes!

Thursday, December 18th, 2008

My friend Arun from BEFolks is holding his first contest, BEFolks First Grand New Year contest.

Take part in the contest and You Could win lots of prizes.

I am also a sponsor for this contest!. If you enter the contest, you could end up winning 125X125 ad spot for 1 month on this blog!

Here the complete list of Prizes:

Premium Gifts
Three 1st year free web hosting vouchers worth 100$ each by Wpwebhost
Single site license Arthemia premium theme by Michael Jubel worth 70$
Single use license of any theme of your choice at Premiumthemes by Wpremix
(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…)

Wordpress 2.7 “Coltrane” is released!

Friday, December 12th, 2008

Wordpress 2.7 Coltrane!
There is a good news for all bloggers who blog on Wordpress Platform. WordPress 2.7 has finally been released!

Though there was Wordpress 2.7 Beta version was available, i didn’t upgrade my blog. I was sitting happy with Wordpress 2.6. Few hours back i upgraded my blog to Wordpress 2.7. There are lot of features that have been added. The first feature you will see as soon as you upgrade your blog is a Brand New look to your Wordpress Dashboard. I was surprised to see that the whole look of Wordpress Administration. Nearly every task you do on your blog will take fewer clicks and be faster in 2.7 than it did in a previous version.
(more…)