Forums

Creating template to display custom post type with a certain taxonomy value (1 post)

  1. Susan
    Member
    Posted 9 months ago #

    Hello,

    I have a custom post type set up: cpt
    If I use single-cpt.php all posts in this type use this template.

    In this custom post type I created a new taxonomy: taxonomy_a
    A cpt post can have the value value-a or value-b within this taxonomy.

    I need a template to

    display cpt posts, with a taxonomy_a value of value-a
    .
    I tried using taxonomy-taxonomy_a-value-a.php but this template is ignored.

    Any advice on how to name a template for this problem would be appreciated.

    Thanks

Reply

You must log in to post.

About this Topic