Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
439 views
in Q2A Core by
Previously I was using qa_get_option in 1.2 to calculate which page of the questions/tags/users list the user is on. But in 1.3 I get a "call to undefined function" error.

There is a function "qa_get_options" for getting multiple options - should this be used instead? Any better way to display "page X" based on what page we're on?

1 Answer

+2 votes
by

It's been shortened to qa_opt(...) - full documentation of useful functions here:

http://www.question2answer.org/functions.php

And using the option is indeed the simplest way to calculate the page number.

by
Ooh, hadn't seen that page yet. Thanks, that will come in very handy!
...