~sinzui/+junk/essence-wp

« back to all changes in this revision

Viewing changes to themes/samsara/post.php

  • Committer: Curtis Hovey
  • Date: 2013-02-10 18:59:15 UTC
  • Revision ID: sinzui.is@verizon.net-20130210185915-1rw2uckbmtxw2k5w
RemovedĀ oldĀ theme.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<p class="post-date <?php if (is_home()) : ?>excerpt<?php endif; ?>">
2
 
    <?php the_time('D j M Y'); ?>
3
 
</p>
4
 
 
5
 
<div class="post-info">
6
 
    <h2 class="post-title">
7
 
        <a href="<?php the_permalink() ?>"
8
 
            rel="bookmark" title="Permanent Link: <?php the_title(); ?>"
9
 
            ><?php the_title(); ?></a>
10
 
    </h2>
11
 
 
12
 
    <p>
13
 
        Posted by <?php the_author(); ?> under <?php the_category(' , '); ?>
14
 
        <?php edit_post_link('(edit this)'); ?><br/>
15
 
        <?php comments_popup_link(
16
 
            'No Comments', '1 Comment', '[%] Comments'); ?>
17
 
    </p>
18
 
 
19
 
    <?php if (!is_home()) : ?>
20
 
    <div>
21
 
        <span id="fb-root"></span>
22
 
        <script
23
 
            src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
24
 
        <fb:like href="<?php echo get_permalink(); ?>"
25
 
            show_faces="true" width="450"></fb:like>
26
 
    </div>
27
 
    <?php endif; ?>
28
 
</div>
29
 
 
30
 
<div class="post-content">
31
 
<?php
32
 
    if (is_home()) :
33
 
        the_excerpt();
34
 
    else :
35
 
        the_content();
36
 
    endif;
37
 
?>
38
 
 
39
 
    <div class="post-info">
40
 
        <?php wp_link_pages(); ?>
41
 
    </div>
42
 
</div>