You can simply just add the cat
or category_name
parameter to your query. When using cat
, you should use the category ID, and should you use category_name
, it should be the slug of the category, not the name.
Change
<?php $tarali_query = new WP_Query('posts_per_page=".$nbmax."&ignore_sticky_posts=1&paged='.$paged); ?>
to
<?php $tarali_query = new WP_Query('posts_per_page=".$nbmax."&cat=CATID&ignore_sticky_posts=1&paged='.$paged); ?>
For futher reading: WP_Query