';
//date
print '
'.get_the_date('d').'
'.get_the_date('M').'
'.get_the_date('Y').'
';
print '
';
//sticky
if(is_sticky()){
print ' '.__('Sticky','boss').' / ';
}
//info
print ' '.get_the_author().' / ';
print ' '.str_replace('rel="category"','',get_the_category_list( __( ', ', 'boss' ) )).' / ';
print ' '; comments_number( __('0 comment','boss'), __('1 comment','boss'), __('% comments','boss') );
print '
';
//title
print '
';
$title = get_the_title();
if(!empty($title)){
print $title;
}else{
print __('Untitled','boss');
}
print '
';
the_content();
wp_link_pages( array( 'before' => '' . __( 'Pages:', 'boss' ), 'after' => '
' ) );
//tags
$posttags = get_the_tags( $post->ID );
if ($posttags) {
print '
'.__('Tags: ','boss').'';
foreach($posttags as $tag) {
$opt[] = ''.$tag->name.'';
}
print implode(', ',$opt);
print '
';
}
//sharing
if(get_post_format() != 'aside'){
//thumb
$postthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'large' );
$dp_post_sharing_facebook = get_theme_mod('dp_post_sharing_facebook');
$dp_post_sharing_twitter = get_theme_mod('dp_post_sharing_twitter');
$dp_post_sharing_gplus = get_theme_mod('dp_post_sharing_gplus');
$dp_post_sharing_linkedin = get_theme_mod('dp_post_sharing_linkedin');
$dp_post_sharing_pinterest = get_theme_mod('dp_post_sharing_pinterest');
$dp_post_sharing_reddit = get_theme_mod('dp_post_sharing_reddit');
$dp_post_sharing_digg = get_theme_mod('dp_post_sharing_digg');
$dp_post_sharing_delicious = get_theme_mod('dp_post_sharing_delicious');
$dp_post_sharing_stumble = get_theme_mod('dp_post_sharing_stumble');
$dp_post_sharing_tumblr = get_theme_mod('dp_post_sharing_tumblr');
$dp_post_sharing_email = get_theme_mod('dp_post_sharing_email');
if($dp_post_sharing_facebook || $dp_post_sharing_twitter || $dp_post_sharing_gplus || $dp_post_sharing_linkedin || $dp_post_sharing_pinterest || $dp_post_sharing_reddit || $dp_post_sharing_digg || $dp_post_sharing_delicious || $dp_post_sharing_stumble || $dp_post_sharing_tumblr || $dp_post_sharing_email){
print '';
$curtitle = get_the_title();
$uri_parts = explode('?', $_SERVER['REQUEST_URI']);
if($dp_post_sharing_facebook){
print '
';
}
if($dp_post_sharing_twitter){
print '
';
}
if($dp_post_sharing_gplus){
print '
';
}
if($dp_post_sharing_linkedin){
print '
';
}
if($dp_post_sharing_pinterest){
print '
';
}
if($dp_post_sharing_reddit){
print '
';
}
if($dp_post_sharing_digg){
print '
';
}
if($dp_post_sharing_delicious){
print '
';
}
if($dp_post_sharing_stumble){
print '
';
}
if($dp_post_sharing_tumblr){
print '
';
}
if($dp_post_sharing_email){
print '
';
}
print '
';
}
}
print '
';
//previous and next post
if(get_post_format() != 'aside'){
print '';
$prev_post = get_previous_post();
if(!empty( $prev_post )){
print '';
}
$next_post = get_next_post();
if(!empty( $next_post )){
print '';
}
print '
';
}
?>