Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
38 views
in Q2A Core by
reopened by
How can I add a php page to q2a site programmatically. Where should I add the file and insert code.

Any suggestions would be appreciated.
by
+1
Please describe the actual problem you're trying to solve instead of what you perceive as the solution. What do you want to accomplish by doing this?
by
I am trying to create an additional about us page and a blog page which requires some PHP code to be inserted into it. So, in which folder should i create a new php file and insert the page code.
by
+2
That sounds like you want to create a custom page plugin (https://docs.question2answer.org/plugins/modules-page/), which is different from what you were originally asking (programmatically adding a page, i.e. have some program add a page, e.g. via an API).

Please log in or register to answer this question.

...