<?php
if( 'bottom' == $placement )
rtp_hook_begin_post_meta_bottom();
else
rtp_hook_begin_post_meta_top();
// Author Link
if ( $rtp_post_comments['post_author_'.$position] || $rtp_post_comments['post_date_'.$position] ) { ?>
<?php
if ( $rtp_post_comments['post_author_'.$position] ) {
printf( __( 'Posted by %s', 'rtPanel' ), ( !$rtp_post_comments['author_link_'.$position] ? get_the_author() . ( $rtp_post_comments['author_count_'.$position] ? '(' . get_the_author_posts() . ')' : '' ) : sprintf( __( '%3$s', 'rtPanel' ), get_author_posts_url( get_the_author_meta( 'ID' ), get_the_author_meta( 'user_nicename' ) ), esc_attr( sprintf( __( 'Posts by %s', 'rtPanel' ), get_the_author() ) ), get_the_author() ) . ( $rtp_post_comments['author_count_'.$position] ? '(' . get_the_author_posts() . ')' : '' ) ) );
}
echo ( $rtp_post_comments['post_author_'.$position] && $rtp_post_comments['post_date_'.$position] ) ? ' ' : '';
if ( $rtp_post_comments['post_date_'.$position] ) {
printf( __( 'on %s', 'rtPanel' ), get_the_modified_date('c'), get_the_modified_time( $rtp_post_comments['post_date_format_'.$position] ) );
} ?>
<?php
}
// Post Categories
echo ( get_the_category_list() && $rtp_post_comments['post_category_'.$position] ) ? '
' . __( 'in', 'rtPanel' ) . ' ' . get_the_category_list( ', ' ) . '
' : '';
// Post Tags
echo ( get_the_tag_list() && $rtp_post_comments['post_tags_'.$position] ) ? '
' . get_the_tag_list( __( 'Tagged', 'rtPanel' ) . ': ', ', ', '' ) . '
' : '';
// Post Custom Taxonomies
$args = array( '_builtin' => false );
$taxonomies = get_taxonomies( $args, 'objects' );
foreach ( $taxonomies as $key => $taxonomy ) {
( get_the_terms( $post->ID, $key ) && isset( $rtp_post_comments['post_'.$key.'_'.$position] ) && $rtp_post_comments['post_'.$key.'_'.$position] ) ? the_terms( $post->ID, $key, '
' . $taxonomy->labels->singular_name . ': ', ', ', '
' ) : '';
}
if ( 'bottom' == $placement )
rtp_hook_end_post_meta_bottom();
else
rtp_hook_end_post_meta_top(); ?>
<?php
if ( $position == 'l' ) { echo ''; }
}
} elseif ( !rtp_is_bbPress() ) {
if ( get_edit_post_link() && ( 'top' == $placement ) ) { ?>