user-pic

How to limit mt:Blogs tag?

Vote 0 Votes

Chet Bannerjee asks:

I am trying to list the five most recently created blogs using the MT Templates language. For some reason, it lists ALL blogs on the system. How do I get around this, and only list the latest five?

My current template reads:

<h2 class="asset-name entry-title">Recently Created Blogs</h2>
<mt:Blogs blog_ids="all" sort_by="created_on" sort_order="descend" limit="5">
   <h3><a href="<$mt:BlogURL$>rss.xml"><img align="bottom" src="../mt/rss-icon.jpg" </a>
   <a href="<$mt:BlogURL$>"><b><$mt:BlogName$></b></a></h3>
   Description: <mt:BlogDescription /><br>
   Posts: <mt:BlogEntryCount /><br>
   Authors: <mt:Authors>| <mt:AuthorDisplayName /> </mt:Authors><p>
</mt:Blogs>

2 Replies

| Add a Reply

Add a Reply

Forum Groups