File: /home/clinicamaciel/www/site/wp-content/themes/bedentist/template-parts/content-default-status.php
<?php
/**
* Template part for displaying posts.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Be_Dentist
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('posts-list__item card'); ?>>
<div class="post-list__item-content">
<header class="entry-header">
<?php
if (is_single()) {
the_title('<h3 class="entry-title">', '</h3>');
} else {
the_title('<h4 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h4>');
}
?>
</header><!-- .entry-header -->
<?php if ('post' === get_post_type()) : ?>
<div class="entry-meta">
<?php
be_dentist_meta_author(
'loop',
array(
'before' => esc_html__('by', 'be_dentist') . ' ',
)
);
be_dentist_meta_date('loop', array(
'before' => '',
));
be_dentist_meta_categories('loop');
?>
</div><!-- .entry-meta -->
<?php endif; ?>
<div class="entry-content">
<?php be_dentist_sticky_label(); ?>
<?php
$embed_args = array(
'fields' => array('twitter', 'facebook'),
'height' => 300,
'width' => 300,
);
$embed_content = apply_filters('cherry_get_embed_post_formats', false, $embed_args);
if (false === $embed_content) {
be_dentist_blog_content();
} else {
printf('<div class="embed-wrapper">%s</div>', $embed_content);
}
be_dentist_meta_tags('loop', array(
'before' => 'Tags: ' . ' ',
'separator' => ' ',
));
?>
</div><!-- .entry-content -->
</div>
<footer class="entry-footer">
<?php be_dentist_read_more();
be_dentist_meta_comments('loop', array(
'before' => '<i class="fa fa-comment"></i>',
'after' => esc_html__('comments ', 'be_dentist'),
'zero' => '0',
'one' => '1',
'plural' => '%',
));
?>
<?php be_dentist_share_buttons('loop'); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->