Hi guys,
I wanted to do the same thing, its a great plugin.
Here is how you can modify the shortcode function to have this capability:
in /wp-content/plugins/wp-awesome-faq/index.php around line 87
After:
function h2cweb_accordion_shortcode($atts) {
// Registering the scripts and style
ADD:
extract( shortcode_atts( array('theslug' => 'general-questions'), $atts, 'faq' ) );
Edit the following line that reads:
$args = array( 'posts_per_page' => 50, 'post_type' => 'faq', 'faq_cat'=>"$theslug", 'order'=>'DESC');
to read:
$args = array( 'posts_per_page' => 50, 'post_type' => 'faq', 'faq_cat'=>"$theslug", 'order'=>'DESC');
Once you have edited those two lines, you can use the shortcode like this:
[faq theslug=’YOURSLUG’]
Where ‘YOURSLUG’ is the category slug.
Also, you can set the default slug in the line that you added first. My default slug in the example above is ‘general-questions’. This is the slug that will be pulled if one isn’t specified in the short code.
Hope that helps!!
-Scott