Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
215 views
in Q2A Core by

How to replace this bar, to appear directly page numbers

Q2A version: last

1 Answer

+2 votes
by
You can't use page numbers on the default home page because there is no pagination for it. Two options that spring to mind:

1. Change the home page to use questions instead of "recent answers". You can do this using the $QA_CONST_PATH_MAP variable in qa-config.php:

$QA_CONST_PATH_MAP = array('questions' => '');

That will get you pagination on the home page.

2. In an advanced theme, override the suggest_next() function to return without outputting anything, which will remove the bar.

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.

Categories

...