working on single and events

This commit is contained in:
infeeeee
2019-08-09 00:38:47 +02:00
parent 5a234f87e1
commit 911688225f
7 changed files with 165 additions and 54 deletions

View File

@@ -26,7 +26,8 @@
<div class="top-row">
<div class="ev-date">
<?php
echo $event_datum;
echo preg_replace('/^(\d{4}\.)(\d{2}\.)(\d{2}\.)$/','\1</br>\2 \3',$event_datum );
// echo $event_datum;
?>
</div>
@@ -44,6 +45,7 @@
<h2>
<?php the_title();?>
</h2>
<div class="vr"></div>
<!-- Tovább button -->
<a href="<?php echo $event_link; ?>" class="text-link" target="_blank">Tovább az eseményre</a>
</div>