WordPress.org

Ready to get started?Download WordPress

Forums

Customizing comments_popup_link text (3 posts)

  1. manojit
    Member
    Posted 6 years ago #

    How do I use comments_popup_link() to show 'Leave a comment' no matter how many comments are already posted? If I say "<?php comments_popup_link('Leave a comment'); ?>", this only works when there is no comment, otherwise it is replaced by '# comments'. Any help? (I am using WP 2.2.3)
    Thanks.

  2. manojit
    Member
    Posted 6 years ago #

    Never mind. Using "<?php comments_popup_link('Leave a comment','Leave a comment','Leave a comment'); ?>" fixed it.

  3. aptdesignonline
    Member
    Posted 6 years ago #

    Awesome fix manojit! I had this same problem, thanks for posting your solution, it worked great for me.

Topic Closed

This topic has been closed to new replies.

About this Topic