I just wanted to say, this one is an excellent plugin, it´s exactly what i was looking for! So thank you mattkaye!
However i´m stucked with some problems now...
1)using [list_amq] shortcode works fine, in addition to the fact, that writing down some additional text before the shortcode doesn´t respect the structure of a post. Respectively if you want to write some text first and then show the list of answers and questions, your code is:
some random text [list amq]
but it displays ALWAYS the Q&A list at the top, then some random text goes on. As I followed some discussions it is question of using echo instead of return in function. In your case listAmq() function. I tried to replace echo by return, but then it ends foreach at the first loop so it displays random text correctly (above the list), but gives you just one question and answer. Could you possibly fix this? I´m not that good at programming:)
2) Could you make some .pot file, so that I could translate the plugin into my language? When I tried just to replace some strings in your code, I got an output with bad coding, again not sure how to fix this.
3) Make some styling of listAmq possible , please :)
Anyway, I hope you will keep on developing this plugin, it is so much helpfull, especially for its simplicity!
Thank you once again. Take care.