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 (see codex) 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
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 plugin 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.
Requires: 3.6.1 or higher
Compatible up to: 4.4.6
Last Updated: 12 months ago
Active Installs: 300+
Got something to say? Need help?