worked on a lot of things

This commit is contained in:
2019-07-02 03:46:02 +02:00
parent 98e0282821
commit 43e6e9b373
12 changed files with 860 additions and 161 deletions

View File

@@ -4,7 +4,7 @@
<!-- section -->
<section>
<?php if (have_posts()): while (have_posts()): the_post();?>
<?php if (have_posts()): while (have_posts()): the_post();?>
<article id="post-<?php the_ID();?>" <?php post_class();?>>
@@ -14,18 +14,50 @@
<a class="thumbnailwrapper" href="<?php the_permalink();?>" title="<?php the_title();?>">
<?php the_post_thumbnail('home-event-thumbnail');?>
</a>
<?php endif;?>
<?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>
<div class="top-row">
<div class="ev-date">
<?php
echo $event_datum;
?>
</div>
<!-- Arrow -->
<a href="<?php echo $event_link; ?>" target="_blank" class="arrow-link">
</a>
</div>
<div class="hr">
</div>
<div class="bottom-row">
<!-- title -->
<h2>
<?php the_title();?>
</h2>
<!-- Tovább button -->
<a href="<?php echo $event_link; ?>" class="text-link" target="_blank">Tovább az eseményre</a>
</div>
</div><!-- end event-metadata -->
<!-- post title -->
<h2>
<a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a>
</h2>
<!-- /post title -->