Hi, I have a post type named ‘Case Studies’ created using ACF Pro, the ‘archive’ feature is enabled, however, I cannot in any way make the page show the global header (template type = header) even though the ‘header’ template already has a condition set to apply on the ‘entire site’.
Is this possibly a known bug that will be fixed in the future?
Works fine for me and I use acf and cpts with archives on most sites… Sounds like u set it up correctly but if u share some screenshots of the setup, we might be able to spot the culprit.
It turned out that the issue I initially encountered was not a bug. I had different conditions assigned to each variant of my site header (two variants in total) within a single global header. The problem arose because the ‘archive’ page didn’t have the necessary variable for any of the headers to load. However, I resolved this by setting a default header within the condition.
I could be wrong, but I realized that the actual issue I was facing might with the ACF ‘archive’ page + Bricks template. What I have done was, I set up a Custom Post Type (CPT) called ‘Case Studies’ using ACF Pro. I enabled the ‘archive’ functionality for this CPT and then created a Bricks ‘single’ template associated with that specific ‘archive’ as the template to show case studies archives. I then associated the header variant ACF custom field with that Bricks template, allowing me to control which header variant to display.
During my initial testing, I encountered a problem where the condition couldn’t be recognized, resulting in none of the header variants being displayed.