• 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • if you don’t define the popup function in wp, comments_popup_link will just be a link. not a popup.

    Thread Starter Jason

    (@vxjasonxv)

    So, in order for a popup tag (comments_popup_link()) in order to actually popup, it required yet ANOTHER tag (comments_popup_script()) to make it truely popup?
    That’s a bit ironic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘comments page links redundant?’ is closed to new replies.