Make WordPress Core

Changeset 805 for trunk/wp-comments.php


Ignore:
Timestamp:
01/28/2004 08:40:58 AM (21 years ago)
Author:
saxmatt
Message:

Comments link not shown if on comments page, link to comment form, number of comments in comment header, and slight font size tweak.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-comments.php

    r787 r805  
    2020<!-- You can start editing here. -->
    2121
    22 <h2 id="comments">Comments</h2>
    23 
    24 <p><?php comments_rss_link('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.'); ?></p>
    25 
     22<h2 id="comments"><?php comments_number('Comments'); ?>
     23<?php if ('open' == $post->comment_status) { ?>
     24<a href="#postcomment" title="Leave a comment">&raquo;</a>
     25<?php } ?>
     26</h2>
    2627<?php if ('open' == $post->ping_status) { ?>
    2728<p>The <acronym title="Uniform Resource Identifier">URI</acronym> to TrackBack this entry is: <em><?php trackback_url() ?></em></p>
     
    4243    <p>No comments yet.</p>
    4344<?php } ?>
    44 
    45 <h2>Leave a Comment</h2>
     45<p><?php comments_rss_link('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.'); ?></p>
     46<h2 id="postcomment">Leave a Comment</h2>
    4647<?php if ('open' == $post->comment_status) { ?>
    4748<p>Line and paragraph breaks automatic, website trumps email, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p>
     
    8687</form>
    8788<?php } else { // comments are closed ?>
    88 <p>Sorry, comments are closed at this time.</p>
     89<p>Sorry, the comment form is closed at this time.</p>
    8990<?php } ?>
    9091
Note: See TracChangeset for help on using the changeset viewer.