As you know ThemeCheck plugin gives error/warning if you are not using post tags anywhere on your theme then your theme will be rejected. This is one of those new conditions for which many themes are being rejected.
But I have seen quite a few themes lately which doesn’t have post tags anywhere on the blog pages.
Does this mean the themes have been approved without considering the lack of use of tags or does it mean the themes’ authors simply haven’t added any tags in their themes due to which no tags are found on those themes?
Edit: I need to know this because I am designing a new theme with minimalist approach and displaying all the post related info doesn’t help achieve minimalism.
Just add the the ability to enable/diasble post info parts in your theme options and disable them in your live preview. This will pass theme check and leave users an option to enable them, if they wish.
I left tags out of my themes and never got an error/warning for that, maybe it has to do with the way I call them.
<?php printf( get_the_term_list( $post->ID, 'category', '<span class="terms"><span class="prep">' . __( 'Posted in ', 'prefix' ) . '</span>', ', ', '</span>' ) ); ?>
The following function will only print out a post tag if there is one, making it collapsible. You dont need to add another useless theme option. Develop smart people!
<?php printf( get_the_term_list( $post->ID, 'post_tag', '<span class="tags"><span class="prep">' . __( 'Tagged as ', 'prefix' ) . '</span>', ', ', '</span>' ) ); ?>
It is not always useless, for example, if I just want to display tag cloud widget without displaying tags in post meta info.
A theme I’m working on displays no post tags and passes theme check 100%.
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.