xili-postinpost provides a triple toolkit to insert post(s) everywhere in webpage. Template tag function, shortcode and widget are available.
Recent Posts only displays title with link of latest posts from all categories. With xili-postinpost it is possible to choose what to display and which categories or tags associated with post (and html tags or class).
YES, see below an example using array and userfunction (formatting the result of query differently than default) :
<?php echo xi_postinpost( array( 'showposts' => '4' , 'query' => array( 'category__and' => array( $cat_id, 7 ) ), 'userfunction' => 'xili_pip_banner' ) ); ?>
Currently the result of widget is ever displayed. Here it is possible to use function (currents or made by webmaster) to decide when to display according context. By example if you use
is_page, if the condition return true, the widget show the result here when a page is displayed in website. Another example with
is_category and params
1,5,87 in the query input : when one these three categories is shown, the widget show the resulting list.
If the condition is false, you can decide to show result of another query. If the condition is not inside the conditional template tags, it is possible to create and use a conditional function created by you (in functions.php).
See the topic here in forum
The webmaster is able to define a period (a slot) when the widget is visible in sidebar (or the shortcode is display inside the content). By example: for an advertising post or an article for a future meeting which disappears the day after the meeting (expiration date).
Effectively, prefer forum to obtain some support.