I am testing my theme with Theme Check plugin and it shows this message:

Required: This theme doesn't seem to display tags?


enter image description here

How can i fix this?

  • Please add the error message as text (like you did in the title) as this is more compatible with text search for future users. Just keep it in mind for your future questions, I edited yours now.
    – hakre
    Aug 6, 2013 at 7:43

1 Answer 1


You need to be using one of these functions to display a list of tags associated with the post:

  • the_tags()
  • get_the_tag_list()
  • get_the_term_list()

Otherwise the check will fail.

If you're building this theme for use with a project that doesn't need tags, don't bother adding support. If you're intending on uploading it to WordPress.org for review, then you need to add support for tags.

  • where can this be added.
    – WordCent
    May 25, 2017 at 9:57
  • @TheWPNovice wherever you want the tags to display
    – shea
    May 25, 2017 at 13:16
  • I dont know where, but theme check is giving this warning. so I have to get rid of theme check warning. But my question is where should I Use this? In the style.css? Or somewhere in the functions.php so that it can take value from here → Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready This theme, like WordPress, is licensed under the GPL.
    – WordCent
    May 25, 2017 at 13:44
  • You'll want to use it inside the loop, in content.php (if you have it), or otherwise single.php, archive.php, index.php, blog.ph.p, etc. This function is not for the theme tags, it's for displaying the tags that are attached to posts
    – shea
    May 25, 2017 at 23:30
  • How can we populate all the tags list if we are one a tag page like this → www.somedomain/tag/apple/ I have posted the question here
    – WordCent
    Oct 5, 2017 at 6:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.