Converting my page to anspress

7.16K viewsGeneral
0

hello, I have a q & a webpage. All the questions are posts. How can I convert my webpage to anspress? thanks a lot in advance

Unselected an answer
1

you describe the way to convert post to questions.
is there any way to convert comments to answers?

Posted new comment

yes there is. Kindly create a new question and I will answer it 🙂

0

Thanks a lot 🙂

Answered question
1

Here it is:

UPDATE wp_posts
SET post_type = 'question'
WHERE post_type = 'YOUR POST TYPE';


NOTICE: add more where conditions to make sure you update only the required posts.

Unselected an answer
0

Thanks for your answer.
Is there any mysql DB command? The number of questions is: 3500+

Answered question
0

Hi,
You have to manually update post_type value in database. Change it to question and then got to wp-admin->anspress->tools and then run recount.

Answered question