Forums

What Plugin gives you....... (12 posts)

  1. 7milesdown
    Member
    Posted 4 years ago #

    The comments next to the title? i've seen it around. The # of comments is located beside the title of the post. Thanks anyone for a link!

  2. alphaoide
    Member
    Posted 4 years ago #

    Add the following template tag next to title
    http://codex.wordpress.org/Template_Tags/comments_number

  3. 7milesdown
    Member
    Posted 4 years ago #

    I tried that but it gives me an ugly 1 comment on the side of my title. I want it to kinda look like binarybonsai and some of the other sites who have it.

  4. ryoken
    Member
    Posted 4 years ago #

    then style the number using css

  5. 7milesdown
    Member
    Posted 4 years ago #

    Yes, can you give me an example. Im a css newb. I've used tables all my life! LOL. Seriously, Im terrible at this. It also displays 1 comment. not just 1 . How do i remove the word comment?

  6. amory
    Member
    Posted 4 years ago #

    go to the page suggested and read how to use the function....
    <?php comments_number('no responses','one response','% responses'); ?>
    thus if you want just the number you would input it like so:
    <?php comments_number('0','1','%'); ?>

  7. 7milesdown
    Member
    Posted 4 years ago #

    hey thanks. That rocks!

  8. 7milesdown
    Member
    Posted 4 years ago #

    amory, you have a clean blog btw.

  9. thitipatn
    Member
    Posted 4 years ago #

    If you are talking about having a Popup Comment link in the header next to the title, you will need to create another "Loop". Check out the CODEX on how to create "The Loop" and put the popup comment link commend in the loop.

    Then at the end of the loop, insert a "Rewind Loop" to make the whole page works. (again, details are in CODEX.)

  10. 7milesdown
    Member
    Posted 4 years ago #

    no. im not talking about the pop-up. On Binary Bonsai their is this nice grey number at the right of each title that links you to the comments. Im tryn to figure out how to style it and place it where it belongs.

  11. amory
    Member
    Posted 4 years ago #

    Thanks for the comments. I didn't mean to sound harsh, bad morning...

  12. scott_sauyet
    Member
    Posted 4 years ago #

    And if you just don't like the default space created by P tags, you can add this to your CSS stylesheet:

    p {
    margin-top: 0;
    }

    Or maybe you already knew that.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.