Created
September 24, 2013 00:20
-
-
Save tenman/6678806 to your computer and use it in GitHub Desktop.
part.php next previus link position change from content after to content before.
This file contains 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
<?php | |
/** | |
* Template part file part | |
* | |
* @package Raindrops | |
* @since Raindrops 0.940 | |
* | |
*/ | |
$format = get_post_format( ); | |
if ( $format === false ) { | |
$raindrops_entry_meta_class = 'entry-meta-default'; | |
}else{ | |
$raindrops_entry_meta_class = 'entry-meta-'. $format; | |
} | |
?> | |
<?php | |
if( is_single( ) ) { | |
raindrops_prev_next_post( 'nav-below' ); | |
} | |
raindrops_entry_title( ); | |
?> | |
<div class="<?php echo $raindrops_entry_meta_class; ?>"> | |
<?php | |
raindrops_posted_on( ); | |
?> | |
</div> | |
<div class="entry-content clearfix"> | |
<?php | |
raindrops_prepend_entry_content( ); | |
raindrops_entry_content( ); | |
wp_link_pages( 'before=<p class="pagenate clearfix">&after=</p>&next_or_number=number&pagelink=<span>%</span>' ); | |
raindrops_append_entry_content( ); | |
?> | |
</div> | |
<div class="entry-utility entry-meta"> | |
<?php | |
echo raindrops_posted_in( ); | |
edit_post_link( esc_html__( 'Edit', 'Raindrops' ). raindrops_link_unique( 'Post', $post->ID ), '<span class="edit-link">', '</span>' ); | |
raindrops_delete_post_link( esc_html__( 'Trash', 'Raindrops' ). raindrops_link_unique( 'Post', $post->ID ), '<span class="edit-link">', '</span>' ); | |
?> | |
</div> | |
<?php | |
comments_template( '', true ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment