2019 08 28 word mods

This commit is contained in:
infeeeee
2019-09-03 00:08:51 +02:00
parent 74a33168d7
commit cd3124784f
18 changed files with 681 additions and 401 deletions

View File

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