I am building a search plugin which should show some results. I am having a custom mysql query. Which returns certain post of type 'Q' . How I can show those posts as questions. I am unable to make $posts into $questions object. Which I can use it here.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.