Most recent posts - updated » description

Most recent posts - updated


The 'Most Recent Posts' plugin (http://wpmudev.org/project/Most-recent-posts) has been quite basic in its original state without any customization, but worked properly. To extend its flexibility, the updated version now uses the following call: "function ah_recent_posts_mu($how_many, $how_long, $title_only, $begin_wrap, $end_wrap)" Parameter explanations: $how_many: how many recent posts are being displayed $how_long: time frame to choose recent posts from (in days) $title_only: true (only title of post is displayed) OR false (title of post and name of blog are displayed) $begin_wrap: customise the start html code to adapt to different themes $end_wrap: customise the end html code to adapt to different themes Sample call: ah_recent_posts_mu(5,30,true, '<li>', '</li>'); >> 5 most recent entries over the past 30 days, displaying titles only

Download

Information