| 26 | | /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> |
| 27 | | on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> |
| 28 | | and is filed under <?php the_category(', ') ?>. |
| 29 | | You can follow any responses to this entry through the <a href="<?php bloginfo_rss('comments_rss2_url'); ?>">RSS 2.0</a> |
| 30 | | feed. |
| 31 | | |
| 32 | | <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { |
| 33 | | // Both Comments and Pings are open ?> |
| 34 | | You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(display); ?>">trackback</a> from your own site. |
| 35 | | |
| 36 | | <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { |
| 37 | | // Only Pings are Open ?> |
| 38 | | Responses are currently closed, but you can <a href="<?php trackback_url(display); ?> ">trackback</a> from your own site. |
| 39 | | |
| 40 | | <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { |
| 41 | | // Comments are open, Pings are not ?> |
| 42 | | You can skip to the end and leave a response. Pinging is currently not allowed. |
| 43 | | |
| 44 | | <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { |
| 45 | | // Neither Comments, nor Pings are open ?> |
| 46 | | Both comments and pings are currently closed. |
| 47 | | |
| 48 | | <?php } edit_post_link('Edit this entry.','',''); ?> |
| | 27 | /* time_since(abs(strtotime($post->post_date) - (60*120))).' ago' */ |
| | 28 | get_the_time('l, F jS, Y'), |
| | 29 | get_the_time(), |
| | 30 | the_category(', ', '', false), |
| | 31 | get_bloginfo_rss('comments_rss2_url')); |
| | 32 | ?> |
| | 33 | <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { |
| | 34 | // Both Comments and Pings are open |
| | 35 | printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s">trackback</a> from your own site. '), trackback_url(false)); |
| | 36 | ?> |
| | 37 | <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { |
| | 38 | // Only Pings are Open |
| | 39 | printf(__('Responses are currently closed, but you can <a href="%s">trackback</a> from your own site.'), trackback_url(false)); |
| | 40 | ?> |
| | 41 | <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { |
| | 42 | // Comments are open, Pings are not |
| | 43 | _e('You can skip to the end and leave a response. Pinging is currently not allowed.'); |
| | 44 | ?> |
| | 45 | <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { |
| | 46 | // Neither Comments, nor Pings are open |
| | 47 | _e('Both comments and pings are currently closed.'); |
| | 48 | ?> |
| | 49 | <?php } edit_post_link(__('Edit this entry.'),'',''); ?> |