Support » Themes and Templates » How to create tag template for custom post type

  • Hi Friends,

    “How to create tag template for custom post type”. I want to create tags archive for custom post called “portfolio”. I created tag.php but it shows only list from the default wordpress posts but i want to display posts from custom post type.

    Pls anyone help its urgent friends… Thanqs in advance…

Viewing 1 replies (of 1 total)
  • Hi lakimathan,

    If you refer to Template hierarchy in the WP Codex, you’ll see a description of the Custom Taxonomies display.

    For me, a template file named taxonomy-tags.php worked perfectly for my custom post type tags.

Viewing 1 replies (of 1 total)
  • The topic ‘How to create tag template for custom post type’ is closed to new replies.