Category shortcode not working?

6.01K viewsIssues
0

i made a category named “chemistry”…then i put this code below in my page to see only “chemistry” questions on my page.

but instead i  see questions from all category on that page…how can i fix this.thanks in advance.:)

Let me check.

I have the same problem

0

Managed to solve this by using “categories” short code instead of “question_category” as in includes/shortcode-basepage.php is looking for this attribute.

So before I had:

[anspress question_category=”category-slug”]

And now is working with:

[anspress categories=”category-slug”]

You can request several categories by passing a comma separated string to it.

You are viewing 1 out of 2 answers, click here to view all answers.