List of Recent Blog Posts

Author:

Shows the most recent six blog posts. Change the limit value to show more or fewer.

In the snippet "recent_posts" in new sites, and used in the right column of all blog system pages except the main blog page (which is itself a list of recent posts).

<h3>Recent Posts</h3>
<ul>
  <w:kb:item:each type='posts' sort='published_at desc' limit='6'>
    <!-- display  a link to the post. 'url' referes to an item page. in this case  /bp/post -->
    <li><a href="<w:path  url='/post' />"><w:name /></a></li> 
  </w:kb:item:each>
</ul>