Link WordPress Category with AnsPress

0

Good Afternoon,

I would like to programmaticaly assign wordpress-category to current question/answer,

And then display a page of question/asnwers only linked to a specific category

Best Regards,

Noé

edited answer
0

Sorry I just put this code in category.php and I found Catégorie WordPress.

 

The last question is in Anspress when I click in category order I can’t found wordpress category (look screenshoot)

 

And when someone ask question I wan’t to put the question in good category here but in AnsPress Tools I can’t find the option.

Regards,

Noé

edited answer
0

Thank you but where add add-post-category.php in the plugin content ? Or where can I found it ?

 

Best Regards,

Noé

commented on answer

In theme functions.php

Thank you but I add that’s one in category.php of plugin and it’s work

1

Hello,

You have to add this hook:

Loading Gist...

After adding this you’ll be able to add post category to question.

deleted comment