Always display page header with title line, even if the result is an empty.

This commit is contained in:
mateuswetah 2020-08-12 09:41:55 -03:00
parent 02398e3ed1
commit 82e6323019
2 changed files with 41 additions and 40 deletions

View File

@ -67,7 +67,7 @@
</div> </div>
</nav> </nav>
<a href="javascript:" id="return-to-top" style="<?php echo (get_theme_mod( 'tainacan_footer_color', 'dark' ) == 'colored' ? 'border: 1px solid white;' : '') ?>"><i class="tainacan-icon tainacan-icon-arrowup"></i></a> <a href="javascript:" id="return-to-top" style="<?php echo (get_theme_mod( 'tainacan_footer_color', 'dark' ) == 'colored' ? 'background-color: #2c2d2d;' : '') ?>"><i class="tainacan-icon tainacan-icon-arrowup"></i></a>
<?php if ( !is_page_template( 'page-templates/landing.php' ) ) : ?> <?php if ( !is_page_template( 'page-templates/landing.php' ) ) : ?>
<?php tainacan_interface_the_breadcrumb(); ?> <?php tainacan_interface_the_breadcrumb(); ?>

View File

@ -1,4 +1,3 @@
<?php if ( have_posts() ) : ?>
<div class="tainacan-title"> <div class="tainacan-title">
<div class="border-jelly-bean tainacan-title-page" style="border-width: 2px !important;"> <div class="border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
<ul class="list-inline mb-1 d-flex"> <ul class="list-inline mb-1 d-flex">
@ -41,6 +40,8 @@
</div> </div>
</div> </div>
<?php if ( have_posts() ) : ?>
<div class="mt-5 tainacan-list-post margin-md-two-column"> <div class="mt-5 tainacan-list-post margin-md-two-column">
<?php while ( have_posts() ) : ?> <?php while ( have_posts() ) : ?>
<?php the_post(); ?> <?php the_post(); ?>