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

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

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

Picture:

How can i fix this?

Topic testing tags theme-development Wordpress

Category Web


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.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.