77
Validation results

Electro

Electro

WordPress 4.9.7 theme
77
Critical alerts
  1. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-electro.php :
    Line 33: add_submenu_page( 'themes.php', 'Custom Color CSS', 'Custom Color CSS', 'ma
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  2. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  3. Screenshot : Screenshot fileScreenshot is wrong size! Detected: 1306x711px. Maximum allowed size is 1200x900px.Screenshot dimensions are wrong! Detected: 1306x711px (1306:711). Ratio of width to height should be 4:3.Screenshot size is 1306x711px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.
Tip-off
  1. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  2. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  3. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  4. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.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 : class-electro-admin.php
    Line 26: include_once( 'electro-admin-functions.php' );
    Line 27: include_once( 'electro-meta-box-functions.php' );
    Line 28: include_once( 'class-electro-admin-meta-boxes.php' );
    Line 29: include_once( 'class-electro-admin-assets.php' );
    Line 33: //include_once( 'class-wc-admin-help.php' );
    Line 40: include_once( 'meta-boxes/class-electro-meta-box-home-v1.php' );
    Line 41: include_once( 'meta-boxes/class-electro-meta-box-home-v2.php' );
    Line 42: include_once( 'meta-boxes/class-electro-meta-box-home-v3.php' );
    Line 43: include_once( 'meta-boxes/class-electro-meta-box-page.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
    Line 137: include( $located );
    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 ).

98
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  2. Screenshot : Screenshot fileScreenshot is wrong size! Detected: 1306x711px. Maximum allowed size is 1200x900px.Screenshot dimensions are wrong! Detected: 1306x711px (1306:711). Ratio of width to height should be 4:3.Screenshot size is 1306x711px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.
Tip-off
  1. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  2. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  3. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  4. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.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 : class-electro-admin.php
    Line 26: include_once( 'electro-admin-functions.php' );
    Line 27: include_once( 'electro-meta-box-functions.php' );
    Line 28: include_once( 'class-electro-admin-meta-boxes.php' );
    Line 29: include_once( 'class-electro-admin-assets.php' );
    Line 33: //include_once( 'class-wc-admin-help.php' );
    Line 40: include_once( 'meta-boxes/class-electro-meta-box-home-v1.php' );
    Line 41: include_once( 'meta-boxes/class-electro-meta-box-home-v2.php' );
    Line 42: include_once( 'meta-boxes/class-electro-meta-box-home-v3.php' );
    Line 43: include_once( 'meta-boxes/class-electro-meta-box-page.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
    Line 137: include( $located );
    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