|
|
Recent Articles |
Website Features That Convert Visitors Into Customers Recently I had a conversation with a voiceover expert who had paid a good chunk of change to Google for his Adwords campaign. His complaint? He got lots of traffic (and paid Google for lots of clicks) but none of...
Who Needs Website Quality? Back in the days, to get into the search engines you only had to submit a site to them and it'd show up in the results (or you could just get listed in the Yahoo directory). Nowadays, doing that doesn't warrant anything and you have to work hard to be visible from the...
The Holy Grail Of CSS Someone asked me recently why I liked Cascading Styles Sheets (CSS) and what makes CSS so great. The answer only makes sense if you know what CSS is. The Holy Grail of CSS it to separate the content of...
Accurately Predicting Potential Website Traffic Wouldn't it be useful if your SEM company could accurately predict how much organic search traffic they could get your organization? I was trying to figure his out today and there are many variables/metrics that could come into play. The difficult part is which metrics...
Back Up Your Blog It was a very scary moment. I was looking at the home page of my blog, and there was nothing but a Wordpress database error of some sort. The irony of it was that I had just gone in, for the first time, to try and...
Is Your Site In Harmony With Itself? Earlier today I came across the article, Should Writers Be Held Accountable for Web Page Performance?. The article got me thinking or rather rethinking about about where the responsiblity lies when a website fails to meet certain goals. Can any one person or aspect of...
More Sullivan PubCon Keynote This is the second part of Andrew Goodman's take on Danny Sullivan's Keynote from PubCon. Part 1 was published in Las Vegas airport Friday. Not to take anything away from the wit of the search...
More Sullivan PubCon Keynote This is the second part of Andrew Goodman's take on Danny Sullivan's Keynote from PubCon. Part 1 was published in Las Vegas airport Friday. Not to take anything away from the wit of the search...
|
|
|
04.02.07
Showing Top Commenters Only On Your Index Page
By
Andy Beard
I recently wrote that I don't like Top Commenters plugins, in fact I used a very strong word loathe.
There are some benefits to introducing Top Commenters to give some level of special recognition, but whatever SEO benefits you think it might offer are discounted by having it placed in your sidebar across the whole of your site including your duplicate content pages.
What you give with one hand you take away with another
If you are giving away all your Google Juice from your sidebar, then you get less juice for
• Your own pages
• The links to sites in your content
• The links from your comments
This isn't just a problem with Top Commenters, it is also the same with blogrolls, and I have discussed that in the past as well.
There is some Wordpress Logic you can use for all page elements depending on whether you are using widgets or not.
If you are using widgets, you would probably have to use a variant of the text entry box that allows PHP - I don't monitor
developments with Wordpress widgets too much, but in the past I have found the way they are implemented in most themes to be too much hard work to customize where things appear, and on which pages. I don't know of a version of widgets that allows drag-and-drop and total control over the placement of widgets on specific pages.
If you are using normal sidebar.php code, then you can use something like the following code.
There are a number of Top Commenters plugins, I have just grabbed the code insert from one example.
If you wanted the Top Commenters to appear on both your homepage and your single pages (the ones that permalinks point to), then you would use something like this:-
Most themes already use similar code for various elements for the sidebar and in the headers.
Watch out for multiple occurrences of the logic in various files such as
sidebar.php
home.php
index.php
tags.php
single.php
page.php
archives.php
Some themes just include the sidebar.php on all pages. In this case you might have to use lots of nested logic to achieve the level of control you require.
Other themes only use sidebar.php on pages that use index.php, and have custom code for single.php - this allows you to use slightly less logic, but means you have to edit code in multiple places.
Comments
• Originally published at AndyBeard.eu
About
the Author: Andy Beard - Niche Marketing - Blog search engine perfomance, Wordpress and general niche and affiliate marketing tips
|