Hides title according to landing template instead of empty title.

This commit is contained in:
mateuswetah 2019-11-14 18:31:05 -03:00
parent 45519e6416
commit 0702c5d0a3
2 changed files with 2 additions and 2 deletions

View File

@ -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">

View File

@ -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' ) ) { ?>