File: /home/hzaluminio/www/wp-content/themes/gaze/single.php
<?php
get_header();
the_post();
$show_sharing = get_option( 'show_sharing', 'yes' );
$show_author = get_option( 'show_author', 'no' );
$thumbnail = has_post_thumbnail();
$sidebar = is_active_sidebar( 'primary' );
$class = ( $sidebar ) ? 'col-md-9' : 'col-md-10 col-md-offset-1';
if( $thumbnail ){
ebor_page_title(
get_the_title(),
get_the_post_thumbnail_url( $post->ID, 'full' )
);
}
?>
<style>
.entry-author {
display:none !important;
}
.entry-meta li {
font-family: "Roboto", sans-serif;
}
.social-twitter {
background-color:#1da1f2 !important;
color:#fff !important;
}
.social-facebook {
background-color:#425f9c !important;
color:#fff !important;
}
.social-linkedin {
background-color:#0274b3 !important;
color:#fff !important;
}
.social-google-plus{
background-color:#dd4b3e !important;
color:#fff !important;
}
.entry-author-box{
display:none !important;
}
#breadcrumbs {
color: #ffffff !important;
}
.entry-img {
display:none !important;
}
</style>
<section id="post-<?php the_ID(); ?>" <?php post_class( 'section-wrap-sm post-single pb-50' ); ?>>
<div class="container relative">
<div class="row">
<div class="<?php echo esc_attr( $class ); ?> post-content mb-50">
<article class="entry-item">
<div class="entry-wrap">
<div class="entry">
<div class="entry-content">
<div class="article">
<?php
get_template_part( 'inc/content-format', get_post_format() );
if(!( $thumbnail )){
the_title( '<h1 class="entry-title">', '</h1>' );
}
the_content();
wp_link_pages();
?>
</div><!-- end article -->
<?php
if( $show_sharing == 'yes' )
get_template_part( 'inc/content-post', 'sharing' );
if( $show_author == 'no' )
get_template_part( 'inc/content-post', 'author' );
if( comments_open() || get_comments_number() ){
comments_template();
}
?>
</div><!-- end entry content -->
</div>
</div>
</article>
</div><!-- end col -->
<?php
if( $sidebar ){
get_sidebar();
}
?>
</div><!-- end row -->
</div><!-- end container -->
</section><!-- end blog standard -->
<?php get_footer();