Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
29.8k views
in Q2A Core by
I need to hide closed questions in "unanswered questions" list? Can it be done by modifying qa-theme.php? If yes, how? :)

Thanks...
Q2A version: 1.5

2 Answers

0 votes
by
A theme handles qa_content. So, modifying qa-theme won't be good, especially if you've got many closed questions on a page.

You may either modify qa_content for existing "unanswered" page, or create a new page with similar name (not exactly "unanswered"). In the former case you should apply changes to the inner Q&A code, so it will be a bit harder to upgrade to next versions, and there may be some problems with other plugins.

Make your choice and go ask further :)
by
Thanks for the reply :) Creating a new page sounds good, but how can i do that?
by
Sorry, I don't have much time to explain. :) I'll show you my questions example page (hopefully on Monday).

How I did it? I traced the whole page creation, starting from DB SELECT-specifications, i.e. qa_db_unanswered_qs_selectspec().
0 votes
by

I had the same problem and solved it. I propose 2 solutions in my blog as well as Q2A plugin for displaying all unanswered non-closed questions.

Nakov

...