Site logo

Archived topic

Cannot import Page Headers

1 reply · Started by ClearCity on January 26, 2019

Viewing posts 1–2 of 2

Hello, I'm very happy with GeneratePress - thank you for all your hard work.

I seem to having a problem with importing page headers.

I am trying to import GeneratePress Page Headers that I created on Site #1 to Site #2.

On Site #1, I choose Tools > Export
Click on Page Headers, then download export file. On Site #2 I run the WordPress importer, select the downloaded .xml file and attempt to upload the Page Headers but keep getting this error:

Failed to import “main”: Invalid post type generate_page_header
Failed to import “Home Page”: Invalid post type generate_page_header

I did a test and exported a post from site #1 and imported it to site #2 the same way with no problem.

All modules are activated in GP Premium. I don't know if I'm missing something, or there is another way to tackle this. Please advise. How would I go about importing Page Headers?

Hi there,

I believe this is because the newest version no longer has page header as it's been replaced by Header Element.

See Tom's notes here:
https://generatepress.com/forums/topic/gpp-1-7-introducing-elements/

My suggestion would be to recreate your existing page headers with Header Element.

It's essentially the same but coding and options have been improved a lot.

Let me know if this helps :)

This archived topic is closed to new replies.