Changeset 10978 for trunk/wp-content/themes/default/image.php
- Timestamp:
- 04/17/2009 05:30:09 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-content/themes/default/image.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/default/image.php
r8999 r10978 33 33 You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed. 34 34 35 <?php if ( ('open' == $post-> comment_status) && ('open' == $post->ping_status)) {35 <?php if ( comments_open() && pings_open() ) { 36 36 // Both Comments and Pings are open ?> 37 37 You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site. 38 38 39 <?php } elseif ( !('open' == $post-> comment_status) && ('open' == $post->ping_status)) {39 <?php } elseif ( !comments_open() && pings_open() ) { 40 40 // Only Pings are Open ?> 41 41 Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site. 42 42 43 <?php } elseif ( ('open' == $post-> comment_status) && !('open' == $post->ping_status)) {43 <?php } elseif ( comments_open() && !pings_open() ) { 44 44 // Comments are open, Pings are not ?> 45 45 You can skip to the end and leave a response. Pinging is currently not allowed. 46 46 47 <?php } elseif ( !('open' == $post-> comment_status) && !('open' == $post->ping_status)) {47 <?php } elseif ( !comments_open() && !pings_open() ) { 48 48 // Neither Comments, nor Pings are open ?> 49 49 Both comments and pings are currently closed.
Note: See TracChangeset
for help on using the changeset viewer.