Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
in Q2A Core by
I want to add some PHP code to the HEADER is their any guide lines to follow?
Q2A version: 1.5.4

2 Answers

0 votes
code here
You are correct sometimes I forget I am not working on php or html pages.
0 votes
You need to use advance theme and override header() function and place any php code you want to add. Something below

function header(){


//here your php code..


but make sure in this case your php code will start right after default header code so you need to work out to get the result you want. But method would be the same.