I am trying to use the Category Posts (WP-CPL) plug-in on a blog I'm working on to filter 'Recent Posts' by category. Basically, when someone clicks on the category name on the blog, I would like it to display the posts from that category. This would be through the 'archives.php' file of the Life Is Simple template.

The shortcode for the plug-in is:

[wp_cpl_sc cat_id=40 list_num=4 css_theme=2 sticky_post="79"]

This is just an example where 'cat_id' represents the category that the plugin will display. I don't want to display just one category, I want it to display the appropriate category when someone clicks on the link. How can I get the plug-in to recognize which category is being requested and display the appropriate posts?

I know that the category title is:

<?php single_cat_title(); ?>

But how do I find the category ID number in this fashion? I've included the PHP for the plug-in's file titled 'wp_cpl_shortcode.php' below if that needs to be edited. I would prefer to use shortcode in the actual coding of the site for simplicity's purpose.