35
Validation results

Electro

Electro

WordPress 6.7 theme
35
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Malware : Operations on file system file_get_contents was found in the file functions.php 185: $form_data = json_decode( file_get_contents( $form['file'] ), true );
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-electro.php : 38: add_submenu_page( 'themes.php', 'Custom Color CSS', 'Custom Color CSS', 'ma
  3. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was home-v1-slider.zip home-v3-slider.zip home-v4-slider.zip home-v2-slider.zip home-v5-slider.zip home-v7-slider.zip.
Warning
  1. theme tags : Presence of bad theme tagsThe tag black has been deprecated, it must be removed from style.css header.The tag blue has been deprecated, it must be removed from style.css header.The tag pink has been deprecated, it must be removed from style.css header.The tag yellow has been deprecated, it must be removed from style.css header.The tag dark 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 fixed-layout 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 has an incorrect number of arguments. Function _n, with the arguments '%d review', '%d reviews', count, 'electro' in file store-header.php.Found a translation function that has an incorrect number of arguments. Function _n, with the arguments '%d review', '%d reviews', count, 'electro' in file store-header.php.Found a translation function that has an incorrect number of arguments. Function _n, with the arguments '%d review', '%d reviews', count, 'electro' in file store-header.php.Found a translation function that has an incorrect number of arguments. Function _n, with the arguments '%d review', '%d reviews', count, 'electro' in file store-header.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 electro, count.
  3. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  4. 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.
  5. Screenshot : Screenshot fileBad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
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 category template file category.phpThis theme does not contain optional file category.php.
  4. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  5. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  6. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.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 archive template file archive.phpThis theme does not contain optional file archive.php.
  9. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  10. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  11. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  12. Use of includes : Use of include or requireThe theme appears to use include or require : extras.php 93: 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.The theme appears to use include or require : class-electro-admin.php 26: include_once( 'electro-admin-functions.php' );27: include_once( 'electro-meta-box-functions.php' );28: include_once( 'class-electro-admin-meta-boxes.php' );29: include_once( 'class-electro-admin-assets.php' );33: //include_once( 'class-wc-admin-help.php' );40: include_once( 'meta-boxes/class-electro-meta-box-home-v1.php' );41: include_once( 'meta-boxes/class-electro-meta-box-home-v2.php' );42: include_once( 'meta-boxes/class-electro-meta-box-home-v3.php' );43: include_once( 'meta-boxes/class-electro-meta-box-home-v4.php' );44: include_once( 'meta-boxes/class-electro-meta-box-home-v5.php' );45: include_once( 'meta-boxes/class-electro-meta-box-home-v6.php' );46: include_once( 'meta-boxes/class-electro-meta-box-home-v7.php' );47: include_once( 'meta-boxes/class-electro-meta-box-home-mobile-v1.php' );48: include_once( 'meta-boxes/class-electro-meta-box-home-mobile-v2.php' );49: 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.
Other checked themes