53
Validation results

Shoptimizer

Shoptimizer

WordPress 6.7.1 theme
53
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
    Ligne380: $contents = file_get_contents( $file );
    file_get_contents was found in the file preloadcss.php
    Ligne184: $inline_css = file_get_contents( $path_to_file );
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File content-page.php :
Warning
  1. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  2. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  3. Custom elements : Presence of custom backgroundNo reference to custom background 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. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  6. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  7. Screenshot : Screenshot fileBad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. theme tags : Presence of bad theme tagsThemes that use the tag accessibility-ready will need to undergo an accessibility review.
    See https://make.wordpress.org/themes/handbook/review/accessibility/
  2. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file intro.php.
    Ligne46: <a href='https://shoptimizerdemo.commercegurus.com/' target='_blank'><img src='<?php
  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 category template file category.phpThis theme does not contain optional file category.php.
  6. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  7. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  8. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  9. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.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 : class-shoptimizer-woocommerce.php
    Ligne49: * @return array $classes modified to include 'wc-active' class
    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