Sindbad~EG File Manager
<?php
$post_types = array(
'title' => 'Pesquisa',
'agenda' => 'Encontros',
'page' => 'Página',
'empresas' => 'Empresas',
'encontros' => 'Encontros',
);
?>
<section>
<?php if (have_posts()): while (have_posts()) : the_post(); ?>
<div class="col-sm-12 mb-2">
<div class="card card-horizontal">
<div class="card-body">
<div class="row">
<div class="col-md-3 text-md-center my-auto">
<span class="badge badge-purple">
<?php
echo $post_types[get_post_type()] ? $post_types[get_post_type()] : get_post_type();
?>
</span>
</div>
<div class="col-md-9">
<div class="row">
<div class="col-md-12">
<h4 class="card-title"><?php the_title(); ?></h4>
</div>
<div class="col-md-10">
<?php echo get_the_date() ;?>
</div>
<div class="col-md-2">
<a href="<?php echo get_the_permalink();?>" class="btn-arrow">
<i class="fas fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php endwhile; ?>
<?php else: ?>
<div class="row d-flex flex-wrap">
<div class="col-sm-8">
<div class="detalhe-head-esquerdo">
<img src="<?php echo images_path() . '/detalhe-02.svg'; ?>">
</div>
</div>
<div class="error-center my-4">
<div class="pesquisa-page col-md-10">
<h4>
<strong>
<?php echo _e('Nenhum resultado encontrado para o termo buscado. Tente novamente.', 'itt'); ?>
</strong>
</h4>
<img src="<?php echo images_path() . '/pesquisa-page.svg'; ?>">
</div>
</div>
<div class="w-100 h-100 d-flex justify-content-center">
<!-- Adicionar aqui row com pseudo seletor before -->
<div class="detalhe-risco-esquerdo">
<img src="<?php echo images_path() . '/detalhe-06.svg'; ?>">
</div>
</div>
<?php endif; ?>
</section>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists