xili-postinpost provides a triple toolkit to insert post(s) everywhere in webpage. Template tag function, shortcode and widget are available.
xili-postinpost provides a triple toolkit to insert post(s) everywhere in webpage - outside or inside WP loop - . The displayed post(s) are resulting of queries like those in WP loop but not interfere with main WP loop. Widget contains conditional syntax.
xi_postinpost()- see source ,
[xilipostinpost query="p=1"]or like
<blockquote>[xilipostinpost query="cat=3,4,150&showposts=2&lang=en_us"]</blockquote>as in About Page at end.
A shortcode like
<blockquote>[xilipostinpost query="cat=3,4,150&showposts=2" lang="cur"]</blockquote> with param
lang set to
cur give a result according the current language (example: inside an undefined page displayed according browser language).
and widget with powerful syntax for contextual display of query's result.
are available for developers, authors and webmasters.
In widget (and template tag), if option is set, it is possible to choose display period and expiration date.
In widget (if xili-language active) to combine a query and the current language use params like
[query="cat=14" lang="cur"] with square bracket
 and lang set cur. Don't put cur in query. See screenshot.
For each post of the resulting list, the displayed result is hightly customizable and can contain title, excerpt, content, thumbnail image with or without link to the post as single.
Paging is preserved even if a shortcode is used in a list of posts.