CPT Archive ---> Page for Archive in Breadcrumbs

Hey Bricks Fam,

Trying to figure out the best way to utilize native page (/gallery/) instead of the CPT archive and have this show properly using Brick’s Breadcrumbs.

In other words…

We want this breadcrumb output:
Home > Gallery > Example-CPT-Post
Home (page) > Gallery (page) > Gallery Post Item (gallery-cpt)
URL = /gallery/example-gallery-cpt

Breadcrumb with CPT archive function disabled:
Home > Example-CPT-Post
Home (page) > Gallery Post Item (gallery-cpt)
URL = /gallery/example-gallery-cpt

Disabling the ACF archive option for the CPT solves the browser URL issue, but then brick’s breadcrumb element does not add the parent directory slug to the breadcrumb output. See attached and note the lower right corner helper classes for each screenshot.

Any thoughts on how best to handle this??


Any specific reason for not wanting to use the CPT archive page?

1 Like

I’ve done something similar before, just creating the crumbs myself from dynamic data.

1 Like

Yes, we already have two separate ACF options pages for managing “Services CPT” and another for “Treatments CPT”.

Trying to keep the total number of Brick’s archive page templates low while also being able to utilize our ACF Field Group specific to pages as the same options for the gallery page/archive.

Having to create a new set of dynamic data just for the Gallery CPT adds additional layers and less compatibility for interchangeable sections we’ve created between Bricks and ACF fields.

Debating on just doing this! Good call!