Skip to content
Advertisement

Is there a way to call the header and footer only once without calling it in each templates

I am looking for a way to call the header and the footer separately from custom templates

JavaScript

Advertisement

Answer

I don’t know wordpress, but if you can create view templates, you can create a base template with the footer and the header and then call this file in the controllers.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement