• I am trying to figure out a simple and straight forward way of my comments to look like:

    Joe: Blah blah blah blah
    Jack: Blop Blop Blop Blop Blop Blop
    Jill: Bleep Bleep Bleep Bleep Bleep

    I don’t want the whole full name says at this time with the edit button, etc. etc.

    Can someone tell me how to do this? How can I modify the comments.php (if at all) or do I have to modify the comment-template.php or something else?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter asadikhan

    (@asadikhan)

    Hello, anyone?

    Can someone please tell me how to do it. Tons of sites are doing this:

    https://www.destineeblau.com/

    and I know they are using Ajaxd WordPress plugin, but I can’t figure out how to get a clean author: message type comments in a comment box like this site. Can someone please point me in the right direction?

    I have searched and searched wordpress forums as well as AWP’s forums but come up with nothing. Anyone?

    this might work: (inspired by your example site)
    php code:

    <?php
    // different way of comment display
    if ( $comments ) : ?>
    <h4>Comments</h4>
    <div id="commentblock">
    <?php foreach ($comments as $comment) : ?>
    
    <p class="commentline"><span><?php comment_author_link() ?></span></p>
    	<?php comment_text() ?>
    
    <?php endforeach; ?>
    </div>
    <?php else : // If there are no comments yet ?>
    	<p><?php _e('No comments'); ?></p>
    <?php endif; ?>

    css:

    #commentblock { width: 600px;  height:120px; background: #FFFFff; overflow:auto; }
    #commentblock p {padding:0 5px; margin:3px 0 8px 0; }
    p.commentline { width:570px; margin: 12px 0 5px 0; color: #666666; }
    p.commentline span { font-weight:bold; margin: 0; padding: 10px 0 0 0; color:#990000; }
    p.commentline span a:link { text-decoration:none; color:#990000; }

    good luck ??

    Thread Starter asadikhan

    (@asadikhan)

    Excellent! Thank you so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Simple clean “Name: Message” style comments’ is closed to new replies.