{"id":2888,"date":"2008-04-13T16:59:07","date_gmt":"2008-04-13T16:59:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/query-inside-post\/"},"modified":"2008-04-22T18:40:38","modified_gmt":"2008-04-22T18:40:38","slug":"query-inside-post","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/query-inside-post\/","author":327660,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.5","stable_tag":"0.5","tested":"2.5","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Query Inside Post","header_author":"Julien Chauvin","header_description":"","assets_banners_color":"","last_updated":"2008-04-22 18:40:38","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.webinventif.fr\/","header_plugin_uri":"http:\/\/www.webinventif.fr\/query-inside-post-plugin-wordpress-pour-inserer-facilement-une-boucle-dans-un-billet\/","header_author_uri":"http:\/\/www.webinventif.fr\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4582,"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":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3","0.4","0.5"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4883,166,1626,2663,609],"plugin_category":[57],"plugin_contributors":[92175],"plugin_business_model":[],"class_list":["post-2888","plugin","type-plugin","status-publish","hentry","plugin_tags-post-plugins","plugin_tags-posts","plugin_tags-query","plugin_tags-related","plugin_tags-tags","plugin_category-taxonomy","plugin_contributors-k-ny","plugin_committers-k-ny"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/query-inside-post.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Displays a <em>custom list<\/em> of <strong>posts<\/strong> to the current one. It use the new <strong>Shortcode API<\/strong> of WP2.5 and the <strong>WP_Query<\/strong><\/p>\n\n<p>New, it works too in your template file !<\/p>\n\n<p><a href=\"http:\/\/www.webinventif.fr\/query-inside-post-plugin-wordpress-pour-inserer-facilement-une-boucle-dans-un-billet\/\">More infos<\/a>.<\/p>\n\n<h3>Version History<\/h3>\n\n<ul>\n<li>0.5\n\n<ul>\n<li>added a function for call it in your template files<\/li>\n<li>fixed a little bug with de global variable $post<\/li>\n<\/ul><\/li>\n<li>0.4\n\n<ul>\n<li>little bug on display<\/li>\n<\/ul><\/li>\n<li>0.3\n\n<ul>\n<li>first public release<\/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> at the place in your posts where you want the custom list of posts to appear.<\/li>\n<\/ol>\n\n<p><a href=\"http:\/\/www.webinventif.fr\/\">My web site<\/a> has <a href=\"http:\/\/www.webinventif.fr\/query-inside-post-plugin-wordpress-pour-inserer-facilement-une-boucle-dans-un-billet\/\">full instructions<\/a><\/p>\n\n<!--section=faq-->\n<dl>\n<dt>List of attributes available<\/dt>\n<dd><ul>\n<li><strong>request:<\/strong> Vide par d\u00e9faut. Pour les utilisateurs experiment\u00e9s, permet d'envoyer sa propre requ\ufffdte (ex: <code>[wlist request=\"tag=google&amp;showposts=5\"]<\/code>)<\/li>\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\ufffdfaut. Permet de pr\u00e9ciser le nom de la cat\ufffdgorie (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>order:<\/strong> \"desc\" 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> \"post_date\" par d\u00e9faut. Permet de pr\u00e9ciser le param\ufffdtre de tri (ex: <code>[wlist orderby=post_title]<\/code> ou <code>[wlist orderby=post_date]<\/code> ou <code>[wlist orderby=random]<\/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>showposts:<\/strong> 5 par d\u00e9faut. Permet de pr\u00e9ciser le nombre d'\ufffdl\ufffdments a retourner (ex: <code>[wlist showposts=10]<\/code>)<\/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>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<\/ul><\/dd>\n<dt>Use in template file<\/dt>\n<dd><ul>\n<li><code>&lt;?php echo qip($request,$beforelist,$afterlist,$beforeitem,$afteritem); ?&gt;<\/code><\/li>\n<\/ul><\/dd>\n\n<\/dl>","raw_excerpt":"Displays a custom list of posts to the current one.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/2888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=2888"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/k-ny"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=2888"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=2888"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=2888"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=2888"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=2888"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=2888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}