Pinegrow Community Support Forum

Define header.php and footer.php in Pinegrow Theme Converter

Hi!

What is the right way of generating a header.php and footer.php file from Pinegrow Theme Converter?
Ideally I would like to have those 2 files and be able to save the content of my home page inside the_content() in order to be able to edit it using Wordpress.

Is that possible Pinegrow Theme Converter?

There is an action called “site content”. Go to your index. Html (which will become your index.php) and put that action on the dom element that you want to contain your content. Everything before that element will become header.php, everything after that will become footer.php

2 Likes

thanks! that did it!