Commit b5a1b40e authored by Romain Bouvier's avatar Romain Bouvier

Display the 5 last blog news

parent e7b4708b
......@@ -80,7 +80,7 @@ $head['css'] = '@media screen and (max-width:830px) {
echo '<ul class="feeds group">';
foreach($feed->get_items(0,4) as $item){
foreach($feed->get_items(0,5) as $item){
echo '<li><strong><a href="'.$item->get_permalink().'">'.$item->get_title().'</a></strong><br />';
echo '<span class="meta">'.$item->get_author()->get_name().' on '.$item->get_date('M d Y').'</span></li>';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment