Feature/MAW-846 sharethis * MAW-846: ShareThis social button plugin * MAW-846: ShareThis social buttons update * Merged develop into feature/MAW-846-sharethis
51 lines
1.6 KiB
PHP
51 lines
1.6 KiB
PHP
<?php
|
|
/**
|
|
* @package thbusiness
|
|
*/
|
|
?>
|
|
|
|
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
<header class="entry-header">
|
|
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
|
|
|
<div class="entry-meta">
|
|
<?php thbusiness_posted_on();
|
|
if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
|
|
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'thbusiness' ), __( '1 Comment', 'thbusiness' ), __( '% Comments', 'thbusiness' ) ); ?></span>
|
|
<?php endif; ?>
|
|
</div><!-- .entry-meta -->
|
|
|
|
</header><!-- .entry-header -->
|
|
<?php thbusiness_featured_image(); ?>
|
|
<!-- Social Media Share buttons -->
|
|
<div id="sharethis" style="margin-bottom:27px;"><?php echo sharethis_inline_buttons(); ?></div>
|
|
<div class="entry-content">
|
|
<?php the_content(); ?>
|
|
|
|
<?php
|
|
wp_link_pages( array(
|
|
'before' => '<div class="page-links">' . __( 'Pages:', 'thbusiness' ),
|
|
'after' => '</div>',
|
|
'link_before' => '<span>',
|
|
'link_after' => '</span>',
|
|
) );
|
|
?>
|
|
</div><!-- .entry-content -->
|
|
|
|
<footer class="entry-footer-insinglepost">
|
|
<?php
|
|
/* translators: used between list items, there is a space after the comma */
|
|
$category_list = get_the_category_list( __( ', ', 'thbusiness' ) );
|
|
|
|
if ( thbusiness_categorized_blog() ) {
|
|
echo '<span class="cat-links">' . $category_list . '</span>';
|
|
}
|
|
|
|
echo get_the_tag_list('<span class="tags-links">',', ','</span>');
|
|
?>
|
|
|
|
<?php edit_post_link( __( 'Edit', 'thbusiness' ), '<span class="edit-link">', '</span>' ); ?>
|
|
</footer><!-- .entry-footer -->
|
|
</article><!-- #post-## -->
|