← Back to News & Newsletter Support
gergo85
A example php code:
$this['news'] .= '
<div class="news col-xs-6 col-md-4">
<a href="news/post/'.$news->slug.'">
<div class="image"><img src="storage/app/media'.$news->image.'" alt="'.$news->title.'"></div>
<div class="date">'.substr($date, 0, 16).'</div>
<h3 class="title">'.$news->title.'</h3>
<div class="text">'.$news->content.'</div>
</a>
</div>';
Last updated
1-4 of 4