Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
591 views
in Plugins by

I need to output just the Question List without the rest of the page. This would be the contents of the <DIV CLASS=qa-q-list> container.

Can this be done, or do I need to create a plugin?

I guess I could call qa_output_content() and use DOMDocument to extract it. Haven't tried this yet.

Any thoughts?

Q2A version: 1.5
by
Do you need the exact HTML? You can select fields from the database pretty easily.
by
Yes, I need the html.

1 Answer

0 votes
by

You would need a plugin with a page module to do this. It should initialize the theme and call directly into its q_list(...) function. See qa-ajax-show-comments.php for the type of thing you need, but it's not so easy to achieve.

...