Black Friday Sale! Get up to $40 off GP Premium!Learn more

Reply To: Set a page template to use sections?

Home Forums Support Set a page template to use sections? Reply To: Set a page template to use sections?

#187573
Katie Jones

Hi Tom, there’s a second issue – once I have ‘use sections’ set, it uses the page generate-sections-page-template.php, instead of the normal WordPress structure. Any ideas here?

My goal is to develop a page with the same HTML structure as a sections page, with the sections hardcoded in the template. Just using a template (and not setting ‘use sections’) wasn’t enough because the header and footer html is different for sections pages, too.

I suppose I could make new header and footer files, though then I’d need to start removing generatepress functions…

What’s the best way to hard-code sections, the sections view, in a template with minimal interference to generatepress?

Thanks!

Katie