56
Validation results

SuperNews

SuperNews

WordPress 4.9.7 theme
56
Critical alerts
  1. Title : Title The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php :
    Ligne632: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
Warning
  1. theme tags : Presence of bad theme tagsThe tag gray has been deprecated, it must be removed from style.css header.The tag white has been deprecated, it must be removed from style.css header.The tag light has been deprecated, it must be removed from style.css header.The tag responsive-layout has been deprecated, it must be removed from style.css header.
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Remove Image' in file Tax-meta-class.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Upload Image' in file Tax-meta-class.php.More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs. The domains found are supernews, tax-meta, truenews.
  3. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  4. Screenshot : Screenshot fileScreenshot size is 880x660px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.Bad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. favicon presence : Favicon managementPossible Favicon found in options-functions.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  2. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file options.php.
    Ligne90: 'std'  => '&copy; Copyright ' . date( 'Y' ) . ' <a href='' . esc_url( home_url() ) . ''>' . esc_attr( get_bloginfo( 'name' ) ) . '</a> &middot; Designed by <a href='http://www.theme-junkie.com/'>Theme Junkie</a>',
    Possible hard-coded links were found in the file options-functions.php.
    Ligne76: <a href='https://twitter.com/theme_junkie' class='twitter-follow-button' data-show-c
    Ligne97: <li><a href='http://docs.theme-junkie.com/supernews/' target='_blank'><?php _e( 'Documen
    Ligne98: <li><a href='http://www.theme-junkie.com/forum/' target='_blank'><?php _e( 'Support Foru
    Ligne99: <li><a href='http://www.theme-junkie.com/affiliates/' target='_blank'><?php _e( 'Affilia
    Ligne100: <li><a href='http://feeds.feedburner.com/ThemeJunkie' target='_blank'><?php _e( 'Subscri
  3. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  4. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  5. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  6. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  7. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  8. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  9. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  10. Use of includes : Use of include or requireThe theme appears to use include or require : teams.php
    Ligne18: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : extras.php
    Ligne278: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.

This is a ThemeForest theme. Since Themeforest items are all checked by a human before they appear on their website, ThemeForest verification rules are more permissive than themecheck's and can give a better verification score ( Themeforest requirements ).

77
Critical alerts
  1. Title : Title The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
Warning
  1. theme tags : Presence of bad theme tagsThe tag gray has been deprecated, it must be removed from style.css header.The tag white has been deprecated, it must be removed from style.css header.The tag light has been deprecated, it must be removed from style.css header.The tag responsive-layout has been deprecated, it must be removed from style.css header.
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Remove Image' in file Tax-meta-class.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Upload Image' in file Tax-meta-class.php.More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs. The domains found are supernews, tax-meta, truenews.
  3. Screenshot : Screenshot fileScreenshot size is 880x660px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.Bad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. favicon presence : Favicon managementPossible Favicon found in options-functions.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  2. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file options.php.
    Ligne90: 'std'  => '&copy; Copyright ' . date( 'Y' ) . ' <a href='' . esc_url( home_url() ) . ''>' . esc_attr( get_bloginfo( 'name' ) ) . '</a> &middot; Designed by <a href='http://www.theme-junkie.com/'>Theme Junkie</a>',
    Possible hard-coded links were found in the file options-functions.php.
    Ligne76: <a href='https://twitter.com/theme_junkie' class='twitter-follow-button' data-show-c
    Ligne97: <li><a href='http://docs.theme-junkie.com/supernews/' target='_blank'><?php _e( 'Documen
    Ligne98: <li><a href='http://www.theme-junkie.com/forum/' target='_blank'><?php _e( 'Support Foru
    Ligne99: <li><a href='http://www.theme-junkie.com/affiliates/' target='_blank'><?php _e( 'Affilia
    Ligne100: <li><a href='http://feeds.feedburner.com/ThemeJunkie' target='_blank'><?php _e( 'Subscri
  3. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  4. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  5. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  6. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  7. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  8. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  9. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  10. Use of includes : Use of include or requireThe theme appears to use include or require : teams.php
    Ligne18: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : extras.php
    Ligne278: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
Other checked themes