Attach custom header or footer by project (Custom post type)
In our example we have created a new custom post type for Projects and now we will show you how to attach different header and footer template for some projects. Let say we have some special projects post where we want to display different header or footer template. Of course first you need to create that special template. If you don’t know how to create new header template – check the guide How to create and attach header. After you have the templates in your library follow the steps below.
Navigate to your custom post type listing. In our case from dashboard sidebar select Projects > All Projects.
Edit the project where you want to have a special header or footer template.
Look for the section Layout Settings. You have the ability to set particular Header and Footer Templates for each post. Select your unique Header or Footer Template from the dropdown list and save the changes.
Now, for this project you will have a special header and footer templates.