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

Does anybody know where I can add this 


to the <html> tag after the doctype declaration ? I cannot find the function!

Thanks, best regards

Q2A version: v 1.3

1 Answer

0 votes
selected by
Best answer

It's in the function html(), so override that in your theme:

function html()
    '<HTML xmlns:fb="http://www.facebook.com/2008/fbml">',
    '<!-- Powered by Question2Answer - http://www.question2answer.org/ -->'


    '<!-- Powered by Question2Answer - http://www.question2answer.org/ -->',

EDIT: oh looks like you're using v1.3. In that case the code is not in the theme, it's somewhere like qa-base.php or qa-page.php.

Thank You, right it is in qa-page.php line 617, you saved my day !
What the ... was bad with my question to get it down voted ?
I don't know but I voted it back up again :)
Thanks, i was just a little bit surprised. But may be there is somebody who does not like facebook so much. Same for me, but especially the younger users are all on facebook, cant ignore it....
Probably just someone playing with the software here instead of using the demo like they should ;)