Tell us what you are trying to do?
Display taxonomy archive using content template
I've designed a content template for a custom post type which is more or less fine on a single CPT page. I've also set a taxonomy archive for that CPT to use it, and it displays the content, but it ignores the grids and just puts everything in 1 column. Is there any way round this?
Thank you for getting in touch. In order for me to understand this issue better I would need to have access to the site to see the archive on the backend.
Can you provide me with admin access to the site? I've enabled the private fields for your next response.
I'm not seeing where this archive was a custom archive made with Toolset. Was this archive created with another plugin or are you calling the content template using the php code.
I created the CPT and taxonomies with Toolset, and then assigned the new content template I created to the countries archive. For the previous content template, I used WP Bakery, and that worked, in terms of layout. See these two pages on the previous site: hidden link hidden link
I tried changing the theme to 2022 to see if it's them-related, and after I changed back to my Salient child theme, it started working: hidden link
Very odd. The spacing is a bit off but I can sort that out.
The issue was that some of the css required for the grid wasn't being loaded on the archive page.
Normally when we create custom archive we do it by going to Toolset -> WordPress archives. However I was able to resolve the issue by manually copying over the required css below.