Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
481 views
in Themes by
without any plugin.. what changes should I have do?

1 Answer

+1 vote
by

I don't have a whole answer but the basic process would be something like:

  • Find the area in your theme where you want to output the links (probably the main() function below suggest_next()
  • Get the current categoryid (somewhere in $this->content['q_view']).
  • Get the current questionid.
  • Run a query something like qa_db_query_sub('SELECT * FROM ^posts WHERE type="Q" AND categoryid=# AND postid># LIMIT 1', $categoryid, $questionid);
  • Then output a link from that.

 

...