Welcome to Geeklog Friday, October 22 2021 @ 11:44 pm EDT

Question: Can I use PHP in static pages?

Answer: Yes, the Static Pages plugin will let you use PHP code in static pages. For security reasons, however, that feature is disabled by default.

Please read the section on PHP in the Static Pages manual carefully to learn how to enable and use PHP in static pages.

FAQ » Plugins and Add-ons » Can I use PHP in static pages?