Closed ledlig closed 1 month ago
Hello,
HTMLy allow custom template file for individual page. Read the docs.
If you have Contact Us page with slug contact-us
. You can create static--contact-us.html.php
and use your PHP code there.
And HTMLy also automatically include the functions.php
if this file exist in theme folder. When naming the function in theme functions.php
, use themeName_functionName()
, to make sure not conflicted with existing function.
So you need custom code to achieve what you need.
I will close this one.
We have code like this:
`
`