• Resolved drdestefanis

    (@drdestefanis)


    So I’ve run into an issue with Archive pages for custom post types. Timber doesn’t detect my custom post type archive (named archive-analysis.twig) unless pretty permalinks are turned on.

    When turned on, visiting mysite.com/analysis provides the correct template.
    When the default wordpress permalink structure is selected, visiting mysite.com/?=analysis displays only the index page.

    However, custom archives work with custom taxonomies. Do I simply have the incorrect url? Or is it something to do with how Timber finds the template?

    Thanks!

    https://wordpress.org/plugins/timber-library/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Post Type Archive’ is closed to new replies.