-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent.php
28 lines (24 loc) · 1 KB
/
content.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
* @package Academica
*/
?>
<div id="post-<?php the_ID(); ?>" <?php post_class( 'clearfix' ); ?>>
<?php the_title( '<h2><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); ?>
<p class="entry-meta">
<?php
if ( 'post' == get_post_type() && ! is_sticky() ) :
printf( '<a href="%1$s" title="%2$s" rel="bookmark">%3$s</a>',
esc_url( get_permalink() ),
esc_attr( sprintf( __( 'Permanent Link to %s', 'academica' ), the_title_attribute( 'echo=0' ) ) ),
esc_html( get_the_date( get_option( 'date_format' ) . ' ' ) )
);
if ( ! post_password_required() && ( comments_open() || 0 != get_comments_number() ) ) :
echo ' <span class="sep">/ </span> ';
comments_popup_link( __( 'Leave a comment', 'academica' ) );
endif;
endif;
edit_post_link( __( 'Edit', 'academica' ), '<span class="edit-link"><span class="sep"> / </span>', '</span>' ); ?>
</p><!-- end .entry-meta -->
<div class="entry-summary"><?php the_content(); ?></div>
</div><!-- end #post-## -->