Welcome to Geeklog, Anonymous Sunday, March 15 2026 @ 09:37 am 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.

Hits: 1018

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