Forums

Comments on single.php (4 posts)

  1. myinstinctwaswrong
    Member
    Posted 1 year ago #

    I'm trying to get the comments popup link to show on a single post.
    I'm using this:

    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>

    But have read that this was not designed to be used on a single post.

    My question - is there an alternative?

    I want to give ppl the ability to comment, but don't want to clutter the post with a form - just a link that pops up the form

  2. jillsays
    Member
    Posted 1 year ago #

    use this as a workaround. works wonders for me:

    <a>#comments"><?php comments_number('No Comments', '1 Comment', '% Comments'); ?></a>

  3. jillsays
    Member
    Posted 1 year ago #

    <a href="<?php the_permalink(); ?>#comments"><?php comments_number('No Comments', '1 Comment', '% Comments'); ?></a>

    whoops... let me try that one more time...

  4. mariostella
    Member
    Posted 10 months ago #

    Jill, please try that again as I only get my url with #comments added at the end.. do you get a popup window with this code?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.