I have a CPT to which I’ve added support for the default WP category taxonomy. I’m able to successfully add those CPT posts to post queries on the front end (including the category archives) by use of the this code:
It was weird. Prior to that, the masonry was being applied to articles of type post, but not to the CPT. Thus, the archive was partial mosaic, but those posts were hidden behind the ones not getting it applied. Happy to have a fix! Thanks for pointing me to the docs again.