Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
2.1k views
in Q2A Core by
How add php code after question text ?
by
plz be more specific
by
i want insert facebook comment plugin but i must add php code

1 Answer

0 votes
by
selected by
 
Best answer
You can write a plugin and override "q_view_main($q_view)" method. Something like this:

class qa_html_theme_layer extends qa_html_theme_base {

        function q_view_main($q_view)
        {
            qa_html_theme_base::q_view_main($q_view);

            // you can write your code here

        }
...