Support » Plugins and Hacks » BAO CMS in panel

  • I have been experimenting with CMS-ing my wp powered site I am using Ivan Georgiev’s BAO CMS panelling suite 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 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?

  • The topic ‘BAO CMS in panel’ is closed to new replies.