• suppose I currently have my comment setup to show as so

    <font class="com_name">"><?php comment_author(); ?></font>
    <font class="com_tag">[<?php comment_date('m.d.y'); ?> | <?php comment_time('g:i A'); ?>]</font>
    <p class="com_comment"><?php comment_text(); ?>

    how can set it up so that only the 5 latest comments show up on the page? i cant seem to find how in the codex.

    I posted this on another section, but realized that I might not be getting a answer because its in the wrong section, sorry.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Show up on which page ?
    – the front page ?
    – on a permalinked page ?
    – in the sidebar ?

    And if you only want 5 comments, and I comment making it 6, how would people get to see my comment ?

    Please provide some more detail.

    Jinsan, I don’t think the plugin is the answer for this quite unusual request. If I understand well what the OP is saying s/he wants only 5 comments shown after the posts (which is nonsense, but that’s what was posted here and in another similar thread started by the same person).

    Thread Starter mc82

    (@mc82)

    basically what I want is to show 5 latest comments on the front page, then ill provide a link for them to see the rest of the comments. So if you post comment 1 out of 10, you can click a link that says “see all comments” and a popup comment window will show up.

    ill look into the pluggin, thanks.

    Formulating and posting a wrong question always creates a mess…
    MC82, first of all, on the “front page” there are NO comments shown – if we both think about the same thing when saying main page, i.e. the start/index page of a blog.
    If you want to have somewhere on the sidebar the latest 5 comments (regardless to which post they were added) then yes, use the plugin.

    In case you want something different, I am afraid we still don’t understand it.

    EVerytime you explain it sounds even wierder to me.

    What that plugin will do is allow you to list the 5 lates comments of the 10 latest comments from a category or overall. You can place that list anywhere you want, however you want. If you have a front page, then I guess you can also add it to that template.

    If that’s what you’re after that plugin will do it for you – moshu the plugin isnot limited to the sidebar, you can place it in a page or practically anywhere.

    Still, I don’t quite understand the request, but that plugin shoudl do what you want as long you follow the instructions. Now if as moshu states you want to limit the number of comments per post (which is frankly odd) then I don’t have monkeys on how to do that, and I have to wonder why. Taking that aside, it also seems you want to keepa limit and have a pop up window which displays the comments. Very odd indeed

    Why would you not be able to limit it just like you do for limiting recent topics? 15 or 5 in his case, it is his blog he should be able to do with it what he wants, who am I to judge

    Thread Starter mc82

    (@mc82)

    Haha, sorry for the confusion.

    I think the plug-in will do just fine.

    I do not want to limit the number of comments that can made.

    I am currently creating my own template and on my pages I have three column, one is the side bar, middle is for latest comments, and right is for entry. I only want 5 comments to show in the middle column, but if they click a link, they will see all the comments that have been posted (unlimited).

    I hope that makes it more understandable.

    Thanks for the help guys, Im going to try that pluggin out.

    I am currently creating my own template and on my pages I have three column, one is the side bar, middle is for latest comments, and right is for entry. I only want 5 comments to show in the middle column, …

    You should have started with this in your other thread ?? and could have saved a lot of typing, confusion and time.

    Thread Starter mc82

    (@mc82)

    haha, ill remember to say this next time I ask a question, which looks like it might not be to long from now (I think i got to use to MTs configuration). thanks for the help

    Thread Starter mc82

    (@mc82)

    I havent had time to try the plugin yet, but by just looking at it, it seems that I cant show the comments content. Did I miss read his page, or is this not possible.

    he actually did way back here

    1 out of 10, you can click a link that says “see all comments” and a popup comment window will show up.

    Thread Starter mc82

    (@mc82)

    Ok to better explain myself heres an example of how i want it to show up:

    Latest 5 Comments
    ——————————-
    Comment Author 1
    Date commented
    Comment Content 1

    Comment Author 2
    Date commented
    Comment Content 2

    Comment Author 3
    Date commented
    Comment Content 3

    Comment Author 4
    Date commented
    Comment Content 4

    Comment Author 5
    Date commented
    Comment Content 5

    is this possible?

    Thread Starter mc82

    (@mc82)

    This is really a feature I would like to add on my website. Here is a picture of what I would love to have it look like

    https://www.beyondeight.com/TEMPORARY/Comments.gif

    Please let me know if its possible

    Comments curvey corners in CSS ? Wow. That is posh. Very nice piece of work IMHO and technically one of the best I have seen in ages. Really cool.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘How to show only 5 comments on page?’ is closed to new replies.