{"id":4100,"date":"2008-11-30T13:23:24","date_gmt":"2008-11-30T13:23:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/post-lister\/"},"modified":"2009-01-11T13:24:51","modified_gmt":"2009-01-11T13:24:51","slug":"post-lister","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/post-lister\/","author":893071,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.4","stable_tag":"0.4","tested":"2.7","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Listeur d'articles \/ Post lister","header_author":"Darathor","header_description":"","assets_banners_color":"","last_updated":"2009-01-11 13:24:51","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/wp.darathor.com\/","header_plugin_uri":"http:\/\/wp.darathor.com\/mes-plugins-maison\/post-lister\/","header_author_uri":"http:\/\/wp.darathor.com\/","rating":2,"author_block_rating":0,"active_installs":20,"downloads":4294,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":"1","3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3","0.4"],"block_files":[],"assets_screenshots":{"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"1539084","resolution":"4","location":"plugin","width":416,"height":74},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1539084","resolution":"2","location":"plugin","width":537,"height":500},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1539084","resolution":"3","location":"plugin","width":1061,"height":298},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1539084","resolution":"1","location":"plugin","width":538,"height":583},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":"1539084","resolution":"5","location":"plugin","width":392,"height":91}},"screenshots":{"1":"Configuration of a post list widget.","2":"Configuration of a comment list widget.","3":"On the right a post list widget, on the left a comment list widget.","4":"Adding a post list in a post.","5":"Rendering a post list in a post."}},"plugin_section":[],"plugin_tags":[107,4883,166,2663,609],"plugin_category":[43,44,57],"plugin_contributors":[88766],"plugin_business_model":[],"class_list":["post-4100","plugin","type-plugin","status-closed","hentry","plugin_tags-comments","plugin_tags-post-plugins","plugin_tags-posts","plugin_tags-related","plugin_tags-tags","plugin_category-customization","plugin_category-discussion-and-community","plugin_category-taxonomy","plugin_contributors-darathor","plugin_committers-darathor"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/post-lister.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/post-lister\/trunk\/screenshot-1.jpg?rev=1539084","caption":"Configuration of a post list widget."},{"src":"https:\/\/ps.w.org\/post-lister\/trunk\/screenshot-2.jpg?rev=1539084","caption":"Configuration of a comment list widget."},{"src":"https:\/\/ps.w.org\/post-lister\/trunk\/screenshot-3.jpg?rev=1539084","caption":"On the right a post list widget, on the left a comment list widget."},{"src":"https:\/\/ps.w.org\/post-lister\/trunk\/screenshot-4.jpg?rev=1539084","caption":"Adding a post list in a post."},{"src":"https:\/\/ps.w.org\/post-lister\/trunk\/screenshot-5.jpg?rev=1539084","caption":"Rendering a post list in a post."}],"raw_content":"<!--section=description-->\n<p>This plugin, inspired on the plugin \"Query Inside Post\" by k-ny displays <em>custom lists<\/em> of <strong>posts<\/strong> or <strong>comments<\/strong> inside a post or the sidebar.<\/p>\n\n<p><strong>This plugin requires PHP5<\/strong>. Look at the FAQ for more details.<\/p>\n\n<h4>Versions History<\/h4>\n\n<ul>\n<li><p>0.4<\/p>\n\n<ul>\n<li>[NEW] added two fields enabling to display post or comment content and the author's avatar.<\/li>\n<li>[ENHANCE] widget forms \"order by\" fields is now a combo box instead of a text field.<\/li>\n<li>[ENHANCE] widget forms have now 2 columns to avoid scrolling.<\/li>\n<li>[ENHANCE] the link in comment lists now contains an anchor to the comment.<\/li>\n<li>[FIX] click \"cancel\" on a widget form and save modifications no longer clear all the widget configurations.<\/li>\n<li>[DOC] added readme-fr.txt files containing the french documentation for the plugin.<\/li>\n<li>[DOC] update readme.txt.<\/li>\n<\/ul><\/li>\n<li><p>0.3<\/p>\n\n<ul>\n<li>[NEW] enable to use global variables, functions and static methods in the configuration of the widgets.<\/li>\n<li>[FIX] the comment count was not displayed in post-list.<\/li>\n<\/ul><\/li>\n<li><p>0.2<\/p>\n\n<ul>\n<li>[NEW] added the comment list functionality.<\/li>\n<li>[ENHANCE] separated showdate and showtime parameters for more flexibility.<\/li>\n<li>[MISC] large refactoring to use my plugin generator (currently in development).<\/li>\n<\/ul><\/li>\n<li><p>0.1<\/p>\n\n<ul>\n<li>[NEW] first version.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to your \/wp-content\/plugins\/ folder.<\/li>\n<li>Go to the <strong>Plugins<\/strong> page and activate the plugin.<\/li>\n<li>Put <code>[wlist]<\/code> or <code>[clist]<\/code> at the place in your posts where you want the custom list of posts or comments to appear OR go to the widget page to add a list in your sidebar.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>List of attributes available in post list (wlist)<\/dt>\n<dd><ul>\n<li><strong>cat:<\/strong> Vide par d\u00e9faut. Permet de preciser l'ID de la cat\u00e9gorie (ex: <code>[wlist cat=5]<\/code> ou <code>[wlist cat=\"5,6,7\"]<\/code> ou <code>[wlist cat=-5]<\/code>)<\/li>\n<li><strong>category_name:<\/strong> Vide par d\u00e9faut. Permet de pr\u00e9ciser le nom de la cat\u00e9gorie (ex: <code>[wlist category_name=\"Web Design\"]<\/code>)<\/li>\n<li><strong>tag:<\/strong> Vide par d\u00e9faut. Permet de pr\u00e9ciser le nom (slug) du tag (ex: <code>[wlist tag=vie-personelle]<\/code> ou <code>[wlist tag=\"vie-personelle,photos\"]<\/code> ou <code>[wlist tag=\"vie-personelle+photos\"]<\/code>)<\/li>\n<li><strong>author:<\/strong> Vide par d\u00e9faut. Permet de pr\u00e9ciser l'ID de l'auteur (ex: <code>[wlist author=1]<\/code> ou <code>[wlist author=1,2]<\/code> ou <code>[wlist author=-1]<\/code>)<\/li>\n<li><strong>author_name:<\/strong> Vide par d\u00e9faut. Permet de pr\u00e9ciser le nom de l'auteur (ex: <code>[wlist author_name=\"Julien\"]<\/code>)<\/li>\n<li><strong>limit:<\/strong> 5 par d\u00e9faut. Permet de pr\u00e9ciser le nombre d'\u00e9l\u00e9ments a retourner (ex: <code>[wlist limit=10]<\/code> ou <code>[wlist limit=-1]<\/code> pour aucune limite)<\/li>\n<li><strong>offset:<\/strong> Vide par d\u00e9faut. Permet de pr\u00e9ciser l'offset (ex: <code>[wlist offset=3]<\/code>)<\/li>\n<li><strong>order:<\/strong> <code>desc<\/code> par d\u00e9faut. Permet de pr\u00e9ciser l'ordre de tri (ex: <code>[wlist order=asc]<\/code> ou <code>[wlist order=desc]<\/code>)<\/li>\n<li><strong>orderby:<\/strong> <code>date<\/code> par d\u00e9faut. Permet de pr\u00e9ciser le param\u00e8tre de tri (ex: <code>[wlist orderby=title]<\/code> ou <code>[wlist orderby=date]<\/code> ou <code>[wlist orderby=rand]<\/code>). Les valeurs disponibles sont les suivantes :\n\n<ul>\n<li><code>date<\/code> : le tri s'effectue selon la date de l'article<\/li>\n<li><code>author<\/code> : le tri s'effectue selon le pseudonyme de l'auteur de l'article<\/li>\n<li><code>title<\/code> : le tri s'effectue selon le titre de l'article<\/li>\n<li><code>modified<\/code> : le tri s'effectue selon la date de derni\u00e8re modification de l'article<\/li>\n<li><code>rand<\/code> : le tri s'effectue de mani\u00e8re al\u00e9atoire<\/li>\n<\/ul><\/li>\n<li><strong>beforelist:<\/strong> <code>&lt;ul class=\"wlist\"&gt;<\/code> par d\u00e9faut. Permet de pr\u00e9ciser la tag se trouvant au d\u00e9but de la liste (ex: <code>[wlist beforelist=\"&lt;ol&gt;\"]<\/code>)<\/li>\n<li><strong>afterlist:<\/strong> <code>&lt;\/ul&gt;<\/code> par d\u00e9faut. Permet de pr\u00e9ciser la tag se trouvant \u00e0 la fin de la liste (ex: <code>[wlist afterlist=\"&lt;\/ol&gt;\"]<\/code>)<\/li>\n<li><strong>beforeitem:<\/strong> <code>&lt;li&gt;<\/code> par d\u00e9faut. Permet de pr\u00e9ciser la tag se trouvant au d\u00e9but de chaque \u00e9l\u00e9ment (ex: <code>[wlist beforeitem=\"&lt;li&gt;&lt;p&gt;\"]<\/code>)<\/li>\n<li><strong>afteritem:<\/strong> <code>&lt;\/li&gt;<\/code> par d\u00e9faut. Permet de pr\u00e9ciser la tag se trouvant \u00e0 la fin de chaque \u00e9l\u00e9ment (ex: <code>[wlist afteritem=\"&lt;\/p&gt;&lt;\/li&gt;\"]<\/code>)<\/li>\n<li><strong>showauthor:<\/strong> <code>false<\/code> par d\u00e9faut. Permet d'afficher ou non l'auteur des messages list\u00e9s (ex: <code>[wlist showauthor=true]<\/code>)<\/li>\n<li><strong>showdate:<\/strong> <code>false<\/code> par d\u00e9faut. Permet d'afficher ou la date des messages list\u00e9s (ex: <code>[wlist showdate=true]<\/code>)<\/li>\n<li><strong>showtime:<\/strong> <code>false<\/code> par d\u00e9faut. Permet d'afficher ou l'heure des messages list\u00e9s (ex: <code>[wlist showtime=true]<\/code>)<\/li>\n<li><strong>showcommentcount:<\/strong> <code>false<\/code> par d\u00e9faut. Permet d'afficher ou le nombre de commentaires des messages list\u00e9s (ex: <code>[wlist showcommentcount=true]<\/code>)<\/li>\n<li><strong>showauthoravatar:<\/strong> <code>none<\/code> par d\u00e9faut. Permet d'afficher l'avatar de l'auteur en sp\u00e9cifiant sa taille (ex: <code>[wlist showauthoravatar=32]<\/code> ou <code>[wlist showauthoravatar=64]<\/code>).<\/li>\n<li><strong>showtext:<\/strong> <code>none<\/code> par d\u00e9faut. Permet d'afficher le contenu des messages en sp\u00e9cifiant le nombre de caract\u00e8res \u00e0 afficher ou 'all' pour afficher le message complet (ex: <code>[wlist showtext=50]<\/code> ou <code>[wlist showtext=all]<\/code>).<\/li>\n<\/ul><\/dd>\n<dt>Liste des propri\u00e9t\u00e9s d'une liste de commentaires (clist)<\/dt>\n<dd><ul>\n<li><strong>post:<\/strong> Vide par d\u00e9faut. Permet de preciser l'ID de l'article auquel doivent \u00eatre rattach\u00e9s les commentaires (ex: <code>[clist post=5]<\/code>)<\/li>\n<li><strong>author:<\/strong> Vide par d\u00e9faut. Permet de pr\u00e9ciser l'ID de l'auteur (ex: <code>[clist author=1]<\/code>)<\/li>\n<li><strong>author_name:<\/strong> Vide par d\u00e9faut. Permet de pr\u00e9ciser le nom de l'auteur (ex: <code>[clist author_name=\"Julien\"]<\/code>)<\/li>\n<li><strong>author_email:<\/strong> Vide par d\u00e9faut. Permet de pr\u00e9ciser l'adresse email de l'auteur (ex: <code>[clist author_email=\"chuck.norris@roundhouse-kick.com\"]<\/code>)<\/li>\n<li><strong>limit:<\/strong> 5 par d\u00e9faut. Permet de pr\u00e9ciser le nombre d'\u00e9l\u00e9ments a retourner (ex: <code>[clist limit=10]<\/code> ou <code>[clist limit=-1]<\/code> pour aucune limite)<\/li>\n<li><strong>offset:<\/strong> Vide par d\u00e9faut. Permet de pr\u00e9ciser l'offset (ex: <code>[clist offset=3]<\/code>)<\/li>\n<li><strong>order:<\/strong> <code>desc<\/code> par d\u00e9faut. Permet de pr\u00e9ciser l'ordre de tri (ex: <code>[clist order=asc]<\/code> ou <code>[clist order=desc]<\/code>)<\/li>\n<li><strong>orderby:<\/strong> <code>comment_date<\/code> par d\u00e9faut. Permet de pr\u00e9ciser le param\u00e8tre de tri (ex: <code>[clist orderby=comment_author]<\/code> ou <code>[clist orderby=comment_date]<\/code> ou <code>[clist orderby=rand]<\/code>). Les valeurs disponibles sont les suivantes :\n\n<ul>\n<li><code>comment_date<\/code> : le tri s'effectue selon la date du commentaire<\/li>\n<li><code>comment_author<\/code> : le tri s'effectue selon le pseudonyme de l'auteur du commentaire<\/li>\n<li><code>comment_post_ID<\/code> : le tri s'effectue selon l'id de l'article associ\u00e9 au commentaire<\/li>\n<li><code>rand<\/code> : le tri s'effectue de mani\u00e8re al\u00e9atoire<\/li>\n<\/ul><\/li>\n<li><strong>beforelist:<\/strong> <code>&lt;ul class=\"clist\"&gt;<\/code> par d\u00e9faut. Permet de pr\u00e9ciser la tag se trouvant au d\u00e9but de la liste (ex: <code>[clist beforelist=\"&lt;ol&gt;\"]<\/code>)<\/li>\n<li><strong>afterlist:<\/strong> <code>&lt;\/ul&gt;<\/code> par d\u00e9faut. Permet de pr\u00e9ciser la tag se trouvant \u00e0 la fin de la liste (ex: <code>[clist afterlist=\"&lt;\/ol&gt;\"]<\/code>)<\/li>\n<li><strong>beforeitem:<\/strong> <code>&lt;li&gt;<\/code> par d\u00e9faut. Permet de pr\u00e9ciser la tag se trouvant au d\u00e9but de chaque \u00e9l\u00e9ment (ex: <code>[clist beforeitem=\"&lt;li&gt;&lt;p&gt;\"]<\/code>)<\/li>\n<li><strong>afteritem:<\/strong> <code>&lt;\/li&gt;<\/code> par d\u00e9faut. Permet de pr\u00e9ciser la tag se trouvant \u00e0 la fin de chaque \u00e9l\u00e9ment (ex: <code>[clist afteritem=\"&lt;\/p&gt;&lt;\/li&gt;\"]<\/code>)<\/li>\n<li><strong>showauthor:<\/strong> <code>false<\/code> par d\u00e9faut. Permet d'afficher ou non l'auteur des messages list\u00e9s (ex: <code>[clist showauthor=true]<\/code>)<\/li>\n<li><strong>showdate:<\/strong> <code>false<\/code> par d\u00e9faut. Permet d'afficher ou la date des messages list\u00e9s (ex: <code>[clist showdate=true]<\/code>)<\/li>\n<li><strong>showtime:<\/strong> <code>false<\/code> par d\u00e9faut. Permet d'afficher ou l'heure des messages list\u00e9s (ex: <code>[clist showtime=true]<\/code>)<\/li>\n<li><strong>showauthoravatar:<\/strong> <code>none<\/code> par d\u00e9faut. Permet d'afficher l'avatar de l'auteur en sp\u00e9cifiant sa taille (ex: <code>[wlist showauthoravatar=32]<\/code> ou <code>[wlist showauthoravatar=64]<\/code>).<\/li>\n<li><strong>showtext:<\/strong> <code>none<\/code> par d\u00e9faut. Permet d'afficher le contenu des messages en sp\u00e9cifiant le nombre de caract\u00e8res \u00e0 afficher ou 'all' pour afficher le message complet (ex: <code>[wlist showtext=50]<\/code> ou <code>[wlist showtext=all]<\/code>).<\/li>\n<\/ul><\/dd>\n<dt>Using dynamic values in widgets' configuration<\/dt>\n<dd><p>For advenced users only :<\/p>\n\n<ul>\n<li><strong>utiliser une variable globale :<\/strong> saisir <code>${toto}<\/code> va appeler <code>$toto<\/code>.<\/li>\n<li><strong>utiliser un champ d'une variable globale :<\/strong> saisir<code>${toto-&gt;name}<\/code> va appeler <code>$toto-&gt;name<\/code>.<\/li>\n<li><strong>utiliser une fonction :<\/strong> saisir<code>${aFunction()}<\/code> va appeler <code>aFunction()<\/code> (sans argument).<\/li>\n<li><strong>utiliser une m\u00e9thode statique :<\/strong> saisir<code>${SomeClass::someStaticMethod()}<\/code> va appeler <code>SomeClass::someStaticMethod()<\/code> (sans argument).<\/li>\n<\/ul><\/dd>\n<dt>I have a PHP fatal error when I acivate the plugin!<\/dt>\n<dd><p>This plugin requires PHP5. On some hosting, default version of PHP associated wih .php files is PHP4. To activate PHP5, you will most often add a few lines in the .htaccess file.<\/p><\/dd>\n<dt>The link in comment lists doesn't lead to the comment but just to the top of the page<\/dt>\n<dd><p>Please check that the <code>comments.php<\/code> file in your theme correctly set the <code>id<\/code> attribute to <code>comment-xxx<\/code> where <code>xxx<\/code> is the comment id.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Displays a custom list of posts or comments.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4100"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/darathor"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4100"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4100"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4100"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4100"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4100"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}