I want to get a list of authors for my blog posts, so I set up a block in my local.xml and am trying the following:
<wordpress_homepage>
<reference name="root">
<block type="wordpress/post_list" name="wordpress_author" template="wordpress/homepage/author/view.phtml">
<block type="wordpress/post_list" name="wordpress_post_list" template="wordpress/post/list.phtml">
<block type="wordpress/post_list_pager" name="wordpress_post_list_pager"/>
</block>
</block>
</reference>
</wordpress_homepage>
for my xml block but in my view.phtml file:
<?php $posts = $this->getPosts(); ?>
returns null. But in other pages I can get the posts. Any ideas?