File: /home/httpd/vhosts/rajlaw.com.tw/httpdocs/wp-content/themes/advokat/template-parts/post/content.php
<?php
/**
* @author rs-theme
* @since 1.0
* @version 1.0
*/
global $advokat_option;
?>
<?php if(has_post_thumbnail()){ ?>
<div class="bs-img">
<?php the_post_thumbnail()?>
</div>
<?php }
$post_id = get_the_id();
$no_thumb = "";
$no_redux = "";
if ( !has_post_thumbnail() ) {
$no_thumb = "no-thumbs";
}
if(!class_exists( 'ReduxFrameworkPlugin' )){
$no_redux = "default-meta";
}
?>
<div class="single-content-full <?php echo esc_attr($no_thumb); ?> <?php echo esc_attr($no_redux); ?>">
<div class="bs-desc">
<?php
the_content( sprintf(
wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'advokat' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
) );
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'advokat' ),
'after' => '</div>',
'link_before' => '<span class="page-number">',
'link_after' => '</span>',
) );
?>
<?php
if(has_tag()){ ?>
<div class="bs-tags tag">
<?php
//tag add
$seperator = ''; // blank instead of comma
$after = '';
esc_html_e( 'Tags: ', 'advokat' );
the_tags( '', $seperator, $after ); ?>
</div>
<?php } ?>
</div>
</div>