2019 08 28 word mods
This commit is contained in:
@@ -58,12 +58,15 @@
|
||||
<div class="postedon">
|
||||
'<?php the_time('y.m.d.');?>
|
||||
</div>
|
||||
<?php if (is_home() and $qc < 3): ; //first two posts subtitle and excerpt ?>
|
||||
<?php
|
||||
$dis_bevezeto_value = get_post_meta(get_the_ID(), 'dis-bevezeto', true);
|
||||
if ((is_home() and strlen($dis_bevezeto_value) > 0) or (is_home() and $qc < 3)): ; // excerpt only if first two or has value
|
||||
?>
|
||||
<div class="bevezetoWrapper">
|
||||
<div class="bevezeto">
|
||||
<div class="bevezetoInner">
|
||||
<?php
|
||||
$dis_bevezeto_value = get_post_meta(get_the_ID(), 'dis-bevezeto', true);
|
||||
|
||||
// Check if the custom field has a value.
|
||||
if (!empty($dis_bevezeto_value)) {
|
||||
echo $dis_bevezeto_value;
|
||||
|
||||
Reference in New Issue
Block a user