xili-postinpost widget is very powerful to display the results of a query.
The query is based on WP query.
Find below some commented examples from our website:
Widget displays 5 latest Posts when a Page is displayed
Latest Posts in current lang
Widget displays 4 latest Posts from categories 3, 4, 150 ordered by modification date sub-selected by current languages.
Widget displays featured image of post 1153 when category 394 is shown. When image is clicked, the post is displayed.
Latest posts with tag
Widget displays titles of latest posts with tag 'sifr' when category 529 is shown. Titles are active as link to target post.
Widget displays 6 latest Custom Post Type named "xilifunctions" when a single page of this CPT is displayed
Widget displays post 1432 title with link only when single post 726 or 883 are shown.