work on sthome and archive pages, template cleanup

This commit is contained in:
2019-06-10 23:34:56 +02:00
parent 027ad5511c
commit 1f4a97ca1a
22 changed files with 537 additions and 664 deletions

View File

@@ -31,13 +31,35 @@
}
}?>
</div>
<div class="vr">
</div>
<div class="postedon">
<?php the_time('Y. m. d.');?>
</div>
</div>
<?php if(is_home() and $qc < 3): ; //first two posts subtitle and excerpt ?>
<div class="alcim">
<?php
$dis_alcim_value = get_post_meta( get_the_ID(), 'dis-alcim', true );
// Check if the custom field has a value.
if ( ! empty( $dis_alcim_value ) ) {
echo $dis_alcim_value;
}
?>
</div>
<div class="bevezeto">
<?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;
}
?>
</div>
<?php endif;?>
</div> <!-- metadata end -->
<!-- post title -->