How to use shortcode for ansPress with categories ?

14.59K viewsCoreAnspress category
1

I have defined category and want to display specific question in specific page (not widget).

Normally we use [anspress] shortcode to display all the question.

How do we display question of specific category in pages not widget?

1

Just to confirm – it is working using [anspress categories=”category_slug”]

0

these images show the setup of categories and the answer, see how the ESP8266 Module entry is a child in one and not a child in the other?

-1

Pass arguments with shortcode:

[anspress category="category_slug"]
commented on answer

It’s displaying all the questions. I checked with category “asdf”. Run the arguments like this:
[anspress question_category="asdf"]
There are only one question in “asdf” category i want to display in a single page.
See the screenshot :-

http://awesomescreenshot.com/0624ydr7eb

I will check the issue

any progress @Rahul Aryan ??

I will let you know.

Hope you have fixed by now @Rahul

Prabin, almost there… after completing rest of task I will look into yours. please give me some time.

sure bro.. take your time

any luck ?

Improving shortcodes in 2.3, also adding new shortcodes.