comments page links redundant?
-
I was working on a style and came across something that seems a bit redundant.
So, first of all, these are the tags that matter:
<?php comments_number(‘none’,’one’,’some’,’number’); ?>
<?php comments_link(‘file’,display); ?>
<?php comments_popup_link(‘none’,’one’,’some’,’class’,’off’); ?>
So, comments_popup_link() (the default) allows you to specify parameters for None/One/Many comments, the CSS class, and then the value for when commenting is disabled.
A normal comments link has merely a location, and whether to echo or return it.
Then there’s comments_number so you can arbitrarily place the number of comments anywhere on a page.
…something’s wrong there.
Why not use comments_number() in ADDITION to comments_link() or comments_popup_link() in order to create a full link?
Either that or get rid of comments_number() altogether.
I don’t like pop-ups, people have pop-up blockers, and it’d be bad design to post every comments, for every post, and have a way to comment on each post, straight on your index page.
So, why is comments_link() so weak?
[edit]
I see that you can only use comment_link() in a comment loop… this is a problem, and a big one for me :(.
On another related rant, why does comments_number() allow you to arbitrarily place a static comment/trackback/pingback value in your posts?
The topic ‘comments page links redundant?’ is closed to new replies.