mardi 8 mars 2016

How to load custom page-template from different theme preserving header and footer from default theme

I'm working on a Wordpress project which requieres that a custom page template is loaded from a non active theme, but header and footer should be loaded from active theme.

I know there are plugins available for this task but I need to do it programmaticaly inside a custom plugin.

I can write this code in a custom plugin.

Thanks in advance!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire