Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
891 views
in Plugins by
edited by

sorry for 100% newbee questions, cannot find the parameter....

qa_path_to_root() returns just recent path / URL when on /page/.

Not the Root URL like stated here:

qa_path_to_root() returns the URL to the root of the Q2A site, relative to the currently requested page. Requires Q2A 1.5+.

 

1 Answer

+2 votes
by

found it!

qa_opt('site_url')

...