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

World of information, opinions, cricket and technology.

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…)

How to Protect your blog content from getting copied

Monday, December 8th, 2008

Every day there are number of blogs coming up on the web. With this increase in number of blogs, there is also a increase in “Copy Cats” who simply copy our content without our permission and without attribution.

The question is How do you Protect your Blog content from getting copied?

Below is one of the solution.

My friend Chetan from TheChetan.com has developed his first ever Wordpress Plugin called WP-CopyProtect.

This is just a basic copy protect plug-in which stops the Copy Cat from copying the content. But, if someone want to copy your content he/she can go to source of the blog and can easily copy the stuff from there.

The plugin Disables Right Click and Disables Test Selection on a Wordpress Blog with this plugin installed!

I recommend you all to visit Chetan’s Blog and Download WP-CopyProtect Wordpress Plugin.

I am very happy to see that he has developed the plugin. It has also inspired me to create a Wordpress Plugin. I have few things in my mind. If i am free and have mood to do some coding in PHP, I will come up with my own Wordpress plugin in future.

The installation instructions and Faq’s about the plugin are there on the same above link.

Please leave your thoughts and suggestions…

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…)

How to Beautify Code samples in your post using Syntax Highlighter

Tuesday, October 21st, 2008

I was reading Do you need all those revisions? post from Nice2All blog. In the post, i found piece of SQL and PHP code.

Below is the Sample 1, how the code looked in that post:

<script type="text/javascript">
<!--
document.write("<i>Hello World!");
//-->
</script>

As you can see that the coloring, formatting is making the code stand out and there are also options like view plain, copy to clipboard, print.

I think i have around 5 posts that show code samples in the posts and here is how it looks.

Below is the Sample 2:


<script type="text/javascript">
<!–
document.write("<i>Hello World!");
//–>
</script>

I know every one would prefer the Sample 1 rather than the Sample 2.

As soon as i read the above mentioned post, i left a comment asking the author about the code format and found out that it can be done by just installing a wordpress plugin called SyntaxHighlighter Plus.

How to beautify code sample in your post using Syntax Highlighter Plus:

(more…)