WordPress.org

Ready to get started?Download WordPress

Forums

No "Leave a comment" at bottom of Twenty Ten 1.2 Theme (9 posts)

  1. Harold McCray
    Member
    Posted 2 years ago #

    I'm using Theme \"Twenty Ten 1.2 by the WordPress team,\" and I have done something wrong and don\'t know how to correct. Initially, I had a message near the bottom of my page where the viewer could click on \"leave message.\"

    Posted in Uncategorized | Leave a comment | Edit

    It\'s no longer there. I have tried for the last two hours to restore with no success. I just want others who visit my blog page to click on \"leave message\" and type in their comments. HELP!!!! I would like to make it BOLD.

    My site is: http://www.haroldemccray.com/ArtistInTheKitchen/

  2. kmessinger
    Volunteer Moderator
    Posted 2 years ago #

    If you click on the "comments" at the bottom of the post it brings up a comment box. I just did the test one.

  3. Harold McCray
    Member
    Posted 2 years ago #

    Kmessinger, thanks for your reply, but I'm trying to recover the message Posted in Uncategorized | Leave a comment | Edit
    It's no longer there and my readers don't know where to look. Again, I'm trying to restore this message.

    Thank you.

  4. BODA82
    Member
    Posted 2 years ago #

    Have you tried to simply restore the theme files files? Or have you been customizing them?

  5. Harold McCray
    Member
    Posted 2 years ago #

    Clearly I'm new at this. I have been customizing them and I've turned something on, or off that has resulted in losing the

    Posted in Uncategorized | Leave a comment | Edit

    Simply restoring the theme would require me to recreate all that I've done, yes? I've tried other themes, but it's the "Twenty Ten 1.2 by the WordPress team, that I prefer using that had the "Leave a comment" message at the bottom. I would think it is a simple way of restoring it.

  6. kmessinger
    Volunteer Moderator
    Posted 2 years ago #

    You have not lost or done anything. In twentyten, once someone leaves a comment, the "leave a comment" phrase becomes a counter and will read "X Comments" where x is the number of comment you have received on that post.

  7. BODA82
    Member
    Posted 2 years ago #

    If you customized the files replacing them would wipe out any change you have made. I suggest reading up on creating child themes (http://codex.wordpress.org/Child_Themes) so that whenever you update Twenty Ten it doesn't wipe out your customizations.

    That being said, to address your immediate problem... The code you're looking for is in the loop.php theme file. If you've not edited that file, then you're safe just replacing it. If you have, you need to dig and find the entry-utility div. The original comment link is in there and should look like this:

    <div class="entry-utility">
    <?php if ( function_exists( 'get_post_format' ) && 'gallery' == get_post_format( $post->ID ) ) : ?>
        <a href="<?php echo get_post_format_link( 'gallery' ); ?>" title="<?php esc_attr_e( 'View Galleries', 'twentyten' ); ?>"><?php _e( 'More Galleries', 'twentyten' ); ?></a>
        <span class="meta-sep">|</span>
    <?php elseif ( in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?>
        <a href="<?php echo get_term_link( _x( 'gallery', 'gallery category slug', 'twentyten' ), 'category' ); ?>" title="<?php esc_attr_e( 'View posts in the Gallery category', 'twentyten' ); ?>"><?php _e( 'More Galleries', 'twentyten' ); ?></a>
        <span class="meta-sep">|</span>
    <?php endif; ?>
        <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
        <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    </div><!-- .entry-utility -->
  8. Harold McCray
    Member
    Posted 2 years ago #

    You flatter me. I'm not that sophisticated. I did find "loop.php" and replaced it, but I made no changes to this file. I didn't even know it existed. I have added one of my photo to banner, but that's the extent of my customization. I move a few "widgets" around and turned on and off some options. This is where I feel that I have removed the "leave a comment" message at the bottom of page. I think a previous member "kmessinger" has resolved the issue for me.

  9. Harold McCray
    Member
    Posted 2 years ago #

    I think a previous member "kmessinger" has resolved the issue for me. Thanks for the explanation. I would have never figured that out (smile). I do hope it's clear to my readers. Exploring some of the other themes might prove a better options. I've received several comments about not knowing how to leave a message. Again, thank you for your help

Topic Closed

This topic has been closed to new replies.

About this Topic