Pro header can't find page in manage assignements section

Hi,
I have a large number of contents on the site. When I try to add a header to a specific page, in the assignment management area, I don’t find the pages but only the custom post type “comunicati”. Nothing appears even if I try to search for the page in the search area.
I need to assign a test header to a page for testing.
Is there possibly another manual way to assign a specific header to a specific page?

Thanks a lot.

Hey @LukeStephan,

For this case where the Header Assignment is full of pages, you can either:

Both methods, require a child theme to be installed as you’ll be inserting functions in the child theme’s functions.php.

Hope that helps.

1 Like

Hi @christian,
I have applied the code to my child’s function.php and it works perfectly.
So I hid the two custom post types that I didn’t want to see and the pages reappeared.

Thank you very much and congratulations for your fast and accurate assistance.

Luca

You’re always welcome Luca!

Cheers.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.