We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Question, Blog

Ok figured it out for myself, here's the code that actually works:

/blog/index.php:

<?php
perch_blog_custom([
  'count' => 10,
  'sort' => 'postDateTime', 
  'sort-order' => 'DESC',
  'each' => function($item) {
    $item['tags_html'] = perch_blog_post_tags($item['postSlug'], 'post_tag_link.html', true);
    return $item;
  },
  'template' => 'post_in_list.html'
]);
?>

post_in_list.html

<perch:blog id="tags_html" encode="false" />