CM Answers Shortcode Example

Here is an example of how to embed a Shortcode of CM Answers inside a page or post. The Shortcode, in this example, can include any one of the following parameters

  • limit – number of questions to display (default: 5)
  • author – ID of the question author (default: empty)
  • cat – slug of category (categories separate by commas) (default: empty)
  • sort – one of following: newest, hottest, views, or votes (default: newest)
  • form – add “question form” below list (default: 0)
  • search – add “search form” above list (default: 1)

Here is a example with the following parameters limit=”10″ sort=”hottest” form=”1″ cat=”First” search=”1″

votes
Answers
views
Question
4
votes
4
answers
3356
views
asked 8 months ago by Sam Moog
updated 8 months ago by Sam Moog
Category: Films
♥ 1
no
votes
no
answers
4933
views
asked 9 months ago by David Rashty
updated 9 months ago by David Rashty
♥ 1
no
votes
no
answers
502
views
asked 6 months ago by David Rashty
updated 6 months ago by David Rashty
Category: Article
2
votes
3
answers
1711
views
asked 8 months ago by Sam Moog
updated 8 months ago by Ditsa Keren
Category: Food
♥ 2
1
vote
1
answer
787
views
asked 8 months ago by Sam Moog
updated 8 months ago by Sam Moog
Category: Food
♥ 1
2
votes
3
answers
907
views
asked 8 months ago by Sam Moog
updated 8 months ago by Sam Moog
Category: Films
3
votes
2
answers
2648
views
asked 9 months ago by David Rashty
updated 9 months ago by David Rashty
♥ 1
1
vote
3
answers
1555
views
asked 10 months ago by David Rashty
updated 9 months ago by David Rashty
Tags:
no
votes
1
answer
1626
views
asked 10 months ago by David Rashty
updated 10 months ago by David Rashty
no
votes
no
answers
1912
views
asked 11 months ago by David Rashty
updated 11 months ago by David Rashty