Which of the following options is the correct order (by prioroty in use) to display tag in template hierarchy?

  • tag-{slug}.php, tag.php, tag-{id}.php, archive.php, index.php
  • tag-{slug}.php, tag-{id}.php, tag.php, archive.php, index.php
  • archive.php, index.php, tag-{slug}.php, tag-{id}.php, tag.php
  • tag-{id}.php, tag-{slug}.php, tag.php, archive.php, index.php

Leave a Comment