I want to put some PHP on the home page only. In my advanced theme, I have this code:
if ($this->template=='/* what to put here? */')
Right before your if, use the following to find out:
That will show you what's in the variable for any page.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.
April 20, 2021: Q2A 1.8.6 released!