Hides title according to landing template instead of empty title.
This commit is contained in:
parent
45519e6416
commit
0702c5d0a3
|
@ -1,6 +1,6 @@
|
|||
<?php if ( have_posts() ) : ?>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<?php if ( get_the_title() != '') : ?>
|
||||
<?php if (!is_page_template( 'page-templates/landing.php' ) ) : ?>
|
||||
<div class="tainacan-title">
|
||||
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
|
||||
<ul class="list-inline mb-1">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<article role="article" id="post_<?php the_ID()?>" <?php post_class()?>>
|
||||
<?php if ( get_the_title() != '') : ?>
|
||||
<?php if (!is_page_template( 'page-templates/landing.php' ) ) : ?>
|
||||
<header class="mb-4">
|
||||
<div class="header-meta text-muted mb-5 d-flex">
|
||||
<?php if ( ! is_singular( 'page' ) ) { ?>
|
||||
|
|
Loading…
Reference in New Issue