Always display page header with title line, even if the result is an empty.
This commit is contained in:
parent
02398e3ed1
commit
82e6323019
|
@ -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(); ?>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<?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">
|
||||||
<li class="list-inline-item text-midnight-blue font-weight-bold title-page">
|
<li class="list-inline-item text-midnight-blue font-weight-bold title-page">
|
||||||
|
@ -39,7 +38,9 @@
|
||||||
<li class="list-inline-item float-right title-back align-self-end ml-auto"><a href="javascript:history.go(-1)"><?php _e( 'Back', 'tainacan-interface' ); ?></a></li>
|
<li class="list-inline-item float-right title-back align-self-end ml-auto"><a href="javascript:history.go(-1)"><?php _e( 'Back', 'tainacan-interface' ); ?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</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() ) : ?>
|
||||||
|
|
Loading…
Reference in New Issue