WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Customizing comments_popup_link (3 posts)

  1. charlene2021
    Member
    Posted 7 years ago #

    I have this one blog that I post just once a month. I want the comment link to say "Comment on Month" month being whatever month it is. What would I add to the line:
    <?php comments_popup_link('Comment On', 'Comment On', 'Comment On'); ?>

  2. MichaelH
    Member
    Posted 7 years ago #

    How about

    <?php
    $mycomment='Comment On ' . the_date('F', '', '', 0);
    comments_popup_link($mycomment,$mycomment,$mycomment,$mycomment);
    ?>
  3. charlene2021
    Member
    Posted 7 years ago #

    I can always trust you to solve and figure out what I need, thanks once more!

Topic Closed

This topic has been closed to new replies.

About this Topic