96
Validation results

Kale

Kale

WordPress 4.9.1 theme
96
Warning
  1. Text domain : Incorrect use of translation functions.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 kale, kirki.
  2. Comment pagination : Declaration of comment paginationThe theme doesn't have comment pagination code in it. Use paginate_comments_links() to add comment pagination, or older previous_comments_link() and next_comments_link() functions.
  3. Editor style : Presence of editor styleNo reference to add_editor_style() was found in the theme. It is recommended that the theme implements editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
  4. Screenshot : Screenshot fileBad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file theme-defaults.php.
    Line 11: $kale_defaults['kale_footer_copyright']                 = 'Copyright &copy; 2016 <a href='https://www.lyrathemes.com/kale-pro/'>Kale Pro</a>';
    Possible hard-coded links were found in the file customizer.php.
    Line 94: <p>Head on over to the <a href='http://www.lyrathemes.com/preview/?theme=kale' target='_blank'>Kale demo</a
    Possible hard-coded links were found in the file footer.php.
    Line 22: <li><a href='https://www.lyrathemes.com/kale-pro'>Kale Pro</a> <?php _e('by', 'kale'); ?
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  4. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  5. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  6. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  7. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  8. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  9. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  10. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  11. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  12. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  13. Use of includes : Use of include or requireThe theme appears to use include or require : category.php
    Line 20: <div class='col-md-4'><?php $kale_entry = 'small'; include(locate_template('parts/entry.php')); $kale_i++; ?></div>
    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 : class-kirki-helper.php
    Line 85: require_once( ABSPATH . '/wp-admin/includes/file.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 : kirki.php
    Line 34: include_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'autoloader.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 : feed.php
    Line 31: if ($kale_i == 1 && $kale_flag) { ?><div class='row' data-fluid='.entry-title'><div class='col-md-6'><?php $kale_entry = 'small'; include(locate_template('parts/entry.php')); $kale_i = 2; $kale_flag = fals
    Line 32: if ($kale_i == 2 && $kale_flag) { ?><div class='col-md-6'><?php $kale_entry = 'small'; include(locate_template('parts/entry.php')); $kale_i = 3; $kale_flag = fals
    Line 33: if ($kale_i == 3 && $kale_flag) { $kale_entry = 'full'; include(locate_template('parts/entry.php')); $kale_i=1; $kale_flag = false;
    Line 38: <div class='col-md-6'><?php $kale_entry = 'small'; include(locate_template('parts/entry.php')); $kale_i++; ?></div>
    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 : frontpage-large.php
    Line 22: <?php include(locate_template('parts/entry.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 : frontpage-featured.php
    Line 25: include(locate_template('parts/entry.php'));
    Line 33: include(locate_template('parts/entry.php'));
    Line 41: include(locate_template('parts/entry.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 ).

97
Warning
  1. Text domain : Incorrect use of translation functions.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 kale, kirki.
  2. Comment pagination : Declaration of comment paginationThe theme doesn't have comment pagination code in it. Use paginate_comments_links() to add comment pagination, or older previous_comments_link() and next_comments_link() functions.
  3. Screenshot : Screenshot fileBad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file theme-defaults.php.
    Line 11: $kale_defaults['kale_footer_copyright']                 = 'Copyright &copy; 2016 <a href='https://www.lyrathemes.com/kale-pro/'>Kale Pro</a>';
    Possible hard-coded links were found in the file customizer.php.
    Line 94: <p>Head on over to the <a href='http://www.lyrathemes.com/preview/?theme=kale' target='_blank'>Kale demo</a
    Possible hard-coded links were found in the file footer.php.
    Line 22: <li><a href='https://www.lyrathemes.com/kale-pro'>Kale Pro</a> <?php _e('by', 'kale'); ?
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  4. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  5. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  6. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  7. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  8. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  9. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  10. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  11. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  12. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  13. Use of includes : Use of include or requireThe theme appears to use include or require : category.php
    Line 20: <div class='col-md-4'><?php $kale_entry = 'small'; include(locate_template('parts/entry.php')); $kale_i++; ?></div>
    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 : class-kirki-helper.php
    Line 85: require_once( ABSPATH . '/wp-admin/includes/file.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 : kirki.php
    Line 34: include_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'autoloader.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 : feed.php
    Line 31: if ($kale_i == 1 && $kale_flag) { ?><div class='row' data-fluid='.entry-title'><div class='col-md-6'><?php $kale_entry = 'small'; include(locate_template('parts/entry.php')); $kale_i = 2; $kale_flag = fals
    Line 32: if ($kale_i == 2 && $kale_flag) { ?><div class='col-md-6'><?php $kale_entry = 'small'; include(locate_template('parts/entry.php')); $kale_i = 3; $kale_flag = fals
    Line 33: if ($kale_i == 3 && $kale_flag) { $kale_entry = 'full'; include(locate_template('parts/entry.php')); $kale_i=1; $kale_flag = false;
    Line 38: <div class='col-md-6'><?php $kale_entry = 'small'; include(locate_template('parts/entry.php')); $kale_i++; ?></div>
    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 : frontpage-large.php
    Line 22: <?php include(locate_template('parts/entry.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 : frontpage-featured.php
    Line 25: include(locate_template('parts/entry.php'));
    Line 33: include(locate_template('parts/entry.php'));
    Line 41: include(locate_template('parts/entry.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