Add a list of posts to a post, page or widget: - Type one or more of your placeholders in the content of a post, page or textwidget (exactly the way you wrote it) - View the page/post/widget: the placeholder you typed in, will be replaced to the list you configured Add a list of posts to a template file: - Add the following code (replace MYPLACEHOLDER to the placeholder of the list to insert) at the position you like to have the list of posts:
<?php
if( function_exists("pl_postlist") )
pl_postlist("MYPLACEHOLDER");
?>
Examples:
After first activation of the plugin some examples have been created. To see PostLists working just create a new post and add one of the following example placeholders:
%MYPOSTS%
MYCATEGORYPOSTS
MYMOSTCOMMENTEDPOSTS
MYLATESTPOSTS24
MYLATESTMODIFIEDPOSTS
MYFUTUREPOSTS
MYLATESTPOST
Now save and view your post to see it working...
This example placeholders can be removed in the postlists admin menu.




