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

@@ -6,22 +6,24 @@
<?php if (have_posts()): while (have_posts()): the_post();?>
<?php
$event_datum = get_post_meta( get_the_ID(), 'dis-esemeny-datum', true );
$event_link = get_post_meta( get_the_ID(), 'dis-esemeny-link', true );
?>
<article id="post-<?php the_ID();?>" <?php post_class();?>>
<!-- post thumbnail -->
<?php if (has_post_thumbnail()): // Check if thumbnail exists ?>
<a class="thumbnailwrapper" href="<?php the_permalink();?>" title="<?php the_title();?>">
<a class="thumbnailwrapper" href="<?php echo $event_link; ?>" title="<?php the_title();?>">
<?php the_post_thumbnail('home-event-thumbnail');?>
</a>
<?php endif;?>
<!-- /post thumbnail -->
<div class="event-metadata">
<?php
$event_datum = get_post_meta( get_the_ID(), 'dis-esemeny-datum', true );
$event_link = get_post_meta( get_the_ID(), 'dis-esemeny-link', true );
?>
<div class="top-row">
<div class="ev-date">