work on sthome and archive pages, template cleanup
This commit is contained in:
28
loop.php
28
loop.php
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user