WordPress.org

Ready to get started?Download WordPress

Forums

Changing Comments (0) to Something else (5 posts)

  1. running
    Member
    Posted 9 years ago #

    My site url: http://www.running-spirit.net/b2/

    I want to change Comments (0) to Love Me.
    Comments (1) - 1 Person Loves Me
    Comments (#) - # People Love Me.

    But I don't know how. Can someone please help? Thanks.

  2. Kafkaesqui

    Posted 9 years ago #

    Look in your theme's template(s) for this tag:

    <?php comments_popup_link(); ?>

    It may already have parameters set between the (), but just change it to:

    <?php comments_popup_link('Love Me', '1 Person Loves Me', '% People Love Me'); ?>

  3. running
    Member
    Posted 9 years ago #

    What template exactlay am I looking in? I looked in Index and Comments and Popup Comments and I cant find the line I'm looking for.

  4. moshu
    Member
    Posted 9 years ago #

    index.php
    You must have something like this:
    <div class="feedback">
    <?php wp_link_pages(); ?>
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    </div>

    Change that line as advised above.

  5. Katrina
    Member
    Posted 9 years ago #

    ^^that snippet is found in wp-content/themes/my_hawt_theme/index.php

    I thought I'd just point that out :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.