I have been experimenting with CMS-ing my wp powered site pagini.com. I am using Ivan Georgiev’s BAO CMS panelling suite http://devcorner.georgievi.net/wp-plugins/baocms/ which promises a lot. I am, however, stumped by the usage of this little plugin. I created a panel, called ‘afictiuni’, in which I nested a module seeded with a litle bit of php code. The code looks like this
$myposts = get_posts('numberposts=3&offset=1&category=10');
foreach($myposts as $post) :
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> --- <?php the_excerpt(); ?></li>
The code is supposed to be called by a little php template tag in the format baocms_show_panel(‘afictiuni’);. What I expected to get in the panel ‘afictiuni’ (see upper right corner of pagini.com) were the latest 3 posts from category 10. What I get is a simple excerpt from the latest post, which is also at the top of the post list. Anyone here that can help out?