Last active
December 15, 2015 09:59
-
-
Save claudiosanches/5242839 to your computer and use it in GitHub Desktop.
Odin com resumos e redes sociais
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<article <?php post_class(); ?>> | |
<header class="entry-header"> | |
<h2 class="entry-title"> | |
<a href="<?php the_permalink(); ?>" title="<?php echo __( 'Link Permanente para ', 'odin' ) . get_the_title(); ?>" rel="bookmark"><?php the_title(); ?></a> | |
</h2> | |
<div class="entry-meta"> | |
<span class="sep"><?php _e( 'Por ', 'odin' ); ?></span> | |
<span class="author vcard"> | |
<a class="url fn n" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" title="<?php echo esc_attr( __( 'Ver todos os posts de ', 'odin') . get_the_author() ); ?>" rel="author"><?php echo get_the_author(); ?></a> | |
</span> | |
<span class="sep"><?php _e( ' | Publicado em ', 'odin' ); ?></span> | |
<time class="entry-date" datetime="<?php echo get_the_date( 'c' ); ?>"><?php echo get_the_date(); ?></time> | |
</div><!-- .entry-meta --> | |
</header><!-- .entry-header --> | |
<div class="entry-content"> | |
<?php // if ( has_post_thumbnail() ) the_post_thumbnail( 'thumbnail' ); ?> | |
<?php echo odin_excerpt( '', '40' ); ?> | |
<a href="<?php the_permalink(); ?>" title="<?php _e( 'Continue lendo', 'odin' ) ?>"><?php _e( 'Continue lendo <span class="meta-nav">→</span>', 'odin' ) ?></a> | |
<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Páginas:', 'odin' ) . '</span>', 'after' => '</div>' ) ); ?> | |
</div><!-- .entry-content --> | |
<footer class="entry-meta"> | |
<?php echo odin_socialite_horizontal( get_the_title(), get_permalink(), wp_get_attachment_url( get_post_thumbnail_id( $post->ID ), 'thumbnail' ) ); ?> | |
<span><?php _e( 'Publicado em: ', 'odin' ); the_category(', '); ?></span> | |
<?php the_tags( '<span>' . __( ' e marcado ', 'odin' ), ', ', '</span>' ); ?> | |
<?php if ( comments_open() && ! post_password_required() ) : ?> | |
<span class="sep"> | </span> | |
<?php comments_popup_link( __( 'Comentar', 'odin' ), __( '1 Comentário', 'odin' ), __( '% Comentários', 'odin' ) ); ?> | |
<?php endif; ?> | |
<?php get_template_part( 'share' ); ?> | |
</footer><!-- #entry-meta --> | |
</article> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment