Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
185 views
in Q2A Core by
How I can add my custom php code in to the QandA site with out editing any pages. I mean where's available for adding custom php code.
Wa Salam . ;)

1 Answer

+1 vote
by
selected by
 
Best answer
There is a plugin that appears to do what you want: https://github.com/NoahY/q2a-admin-plus

But it's not maintained, and I wouldn't recommend doing that anyway.

The best way to run custom PHP code is to make a plugin. Depending on what you want to do, the best type might be a page plugin, widget plugin, or a process plugin (init_page function). See here for more: http://docs.question2answer.org/plugins/
...