D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
mybf1
/
public_html
/
sabun.bf1.my
/
wp-content
/
themes
/
ef-practical
/
template-parts
/
Filename :
content.php
back
Copy
<?php /** * Template for displaying content * * @package Ef Practical */ if ( is_archive() ) { $thumbnail = get_theme_mod( 'practical_archives_featured_img', 'above' ); } else { $thumbnail = get_theme_mod( 'practical_blog_posts_featured_img', 'above' ); } ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( has_post_thumbnail() && 'hide' != $thumbnail ) : if ( 'beside' == $thumbnail ) { echo '<div class="small-featured-img">'; } get_template_part( '/template-parts/entry/entry-thumbnail' ); if ( 'beside' == $thumbnail ) { echo '</div>'; } endif; ?> <div class="blog-post-body"> <?php get_template_part( '/template-parts/entry/entry-header' ); ?> <?php if ( 'post' == get_post_type() ) : get_template_part( '/template-parts/entry/entry-meta' ); endif; ?> <?php get_template_part( '/template-parts/entry/entry-content' ); ?> <?php if ( 'post' == get_post_type() ) : get_template_part( '/template-parts/entry/entry-footer' ); endif; ?> </div> </article><!-- #post- -->