35
Validation results

Smarty

Smarty

WordPress 4.9.1 theme
35
Critical alerts
  1. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe class="stm-slider__video-iframe" width="100%" src="<?php echo esc_url( $video_link ); ?> in file stm_slider_item.php.
    Line 58: <iframe class='stm-slider__video-iframe' width='100%' src='<?php echo esc_u
    Found <iframe class="stm-video-carousel__item-video stm-iframe stm-iframe_format_video stm-iframe_view_media-gallery" width="635" height="450" src="<?php echo esc_url( $item_link ); ?> in file stm_mg_video.php.
    Line 93: <iframe class='stm-video-carousel__item-video stm-iframe stm-iframe_format_
    Found <iframe class="stm-slider__video-iframe" width="100%" src="<?php echo esc_url( $video_link ); ?> in file stm_slider_item.php.
    Line 58: <iframe class='stm-slider__video-iframe' width='100%' src='<?php echo esc_u
    Found <iframe class="stm-slider__video-iframe" width="100%" src="<?php echo esc_url( $video_link ); ?> in file stm_slider_item.php.
    Line 58: <iframe class='stm-slider__video-iframe' width='100%' src='<?php echo esc_u
    Found <iframe class="stm-video-carousel__item-video stm-iframe stm-iframe_format_video stm-iframe_view_media-gallery" width="635" height="450" src="<?php echo esc_url( $item_link ); ?> in file stm_mg_video.php.
    Line 93: <iframe class='stm-video-carousel__item-video stm-iframe stm-iframe_format_
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File admin_screens.php :
    Line 15: $stm_admin_menu_page_creation_method    = 'add_menu_page';
    File admin_screens.php :
    Line 16: $stm_admin_submenu_page_creation_method = 'add_submenu_page';
    File admin.php :
    Line 123: //add_action( 'admin_menu', array( $this, 'add_menu_page' ) );
    Line 328: public function add_menu_page() {
    Line 329: $page = add_menu_page( __( 'Envato Market', 'envato-market' ), __( 'Envato Market',
    File admin.php :
    Line 123: //add_action( 'admin_menu', array( $this, 'add_menu_page' ) );
    Line 328: public function add_menu_page() {
    Line 329: $page = add_menu_page( __( 'Envato Market', 'envato-market' ), __( 'Envato Market',
  3. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was home-2.zip home-3.zip home-4.zip home.zip home_slider_kindergarten.zip home_slider_university.zip revslider.zip timetable.zip stm-importer.zip js_composer.zip stm-post-type.zip.
Warning
  1. theme tags : Presence of bad theme tagsThe tag blue has been deprecated, it must be removed from style.css header.The tag black has been deprecated, it must be removed from style.css header.The tag red 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 fixed-layout has been deprecated, it must be removed from style.css header.The tag fluid-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 is missing a text-domain. Function _x, with the arguments 'Posted by:', 'smarty' in file content.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 smarty, consulting, envato-market, woocommerce, stm_domain.
  3. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  4. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  5. 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.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file admin_screens.php.
    Line 123: <?php printf( esc_html__( '%s is now installed and ready to use! Get ready to build something beautiful. Please register your purchase to get automatic theme updates, import %1$s demos and install premium plugins. Read below for additional information. We hope you enjoy it! %s', 'smarty' ), $theme_name, '<a href='https://www.youtube.com/embed/9kTR47ANTlk?rel=0?KeepThis=true&TB_iframe=tru
    Possible hard-coded links were found in the file intro.php.
    Line 16: <p><strong><?php printf( esc_html__( 'Development of this plugin is done on %sGitHub%s. Pull requests welcome.', 'envato-market' ), '<a href='https://github.com/envato/wp-envato-market' target='_blank'>', '</a>' ); ?>
  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 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 : admin.php
    Line 915: include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    Line 1111: require( envato_market()->get_plugin_path() . 'inc/admin/view/callback/admi
    Line 1120: require( envato_market()->get_plugin_path() . 'inc/admin/view/callback/sect
    Line 1129: require( envato_market()->get_plugin_path() . 'inc/admin/view/callback/sect
    Line 1138: require( envato_market()->get_plugin_path() . 'inc/admin/view/callback/sett
    Line 1147: require( envato_market()->get_plugin_path() . 'inc/admin/view/callback/sett
    Line 1156: require( envato_market()->get_plugin_path() . 'inc/admin/view/partials/intr
    Line 1165: require( envato_market()->get_plugin_path() . 'inc/admin/view/partials/tabs
    Line 1174: require( envato_market()->get_plugin_path() . 'inc/admin/view/partials/sett
    Line 1183: require( envato_market()->get_plugin_path() . 'inc/admin/view/partials/them
    Line 1192: require( envato_market()->get_plugin_path() . 'inc/admin/view/partials/plug
    Line 1201: require( envato_market()->get_plugin_path() . 'inc/admin/view/notice/succes
    Line 1210: require( envato_market()->get_plugin_path() . 'inc/admin/view/notice/succes
    Line 1219: require( envato_market()->get_plugin_path() . 'inc/admin/view/notice/succes
    Line 1228: require( envato_market()->get_plugin_path() . 'inc/admin/view/notice/error.
    Line 1237: require( envato_market()->get_plugin_path() . 'inc/admin/view/notice/error-
    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 : admin.php
    Line 8: require_once($includes . '/envato-market/envato-market.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 : envato-theme-update.php
    Line 47: require_once( 'class-envato-protected-api.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 ).

78
Critical alerts
  1. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was home-2.zip home-3.zip home-4.zip home.zip home_slider_kindergarten.zip home_slider_university.zip revslider.zip timetable.zip stm-importer.zip js_composer.zip stm-post-type.zip.
Warning
  1. theme tags : Presence of bad theme tagsThe tag blue has been deprecated, it must be removed from style.css header.The tag black has been deprecated, it must be removed from style.css header.The tag red 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 fixed-layout has been deprecated, it must be removed from style.css header.The tag fluid-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 is missing a text-domain. Function _x, with the arguments 'Posted by:', 'smarty' in file content.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 smarty, consulting, envato-market, woocommerce, stm_domain.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file admin_screens.php.
    Line 123: <?php printf( esc_html__( '%s is now installed and ready to use! Get ready to build something beautiful. Please register your purchase to get automatic theme updates, import %1$s demos and install premium plugins. Read below for additional information. We hope you enjoy it! %s', 'smarty' ), $theme_name, '<a href='https://www.youtube.com/embed/9kTR47ANTlk?rel=0?KeepThis=true&TB_iframe=tru
    Possible hard-coded links were found in the file intro.php.
    Line 16: <p><strong><?php printf( esc_html__( 'Development of this plugin is done on %sGitHub%s. Pull requests welcome.', 'envato-market' ), '<a href='https://github.com/envato/wp-envato-market' target='_blank'>', '</a>' ); ?>
  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 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 : admin.php
    Line 915: include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    Line 1111: require( envato_market()->get_plugin_path() . 'inc/admin/view/callback/admi
    Line 1120: require( envato_market()->get_plugin_path() . 'inc/admin/view/callback/sect
    Line 1129: require( envato_market()->get_plugin_path() . 'inc/admin/view/callback/sect
    Line 1138: require( envato_market()->get_plugin_path() . 'inc/admin/view/callback/sett
    Line 1147: require( envato_market()->get_plugin_path() . 'inc/admin/view/callback/sett
    Line 1156: require( envato_market()->get_plugin_path() . 'inc/admin/view/partials/intr
    Line 1165: require( envato_market()->get_plugin_path() . 'inc/admin/view/partials/tabs
    Line 1174: require( envato_market()->get_plugin_path() . 'inc/admin/view/partials/sett
    Line 1183: require( envato_market()->get_plugin_path() . 'inc/admin/view/partials/them
    Line 1192: require( envato_market()->get_plugin_path() . 'inc/admin/view/partials/plug
    Line 1201: require( envato_market()->get_plugin_path() . 'inc/admin/view/notice/succes
    Line 1210: require( envato_market()->get_plugin_path() . 'inc/admin/view/notice/succes
    Line 1219: require( envato_market()->get_plugin_path() . 'inc/admin/view/notice/succes
    Line 1228: require( envato_market()->get_plugin_path() . 'inc/admin/view/notice/error.
    Line 1237: require( envato_market()->get_plugin_path() . 'inc/admin/view/notice/error-
    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 : admin.php
    Line 8: require_once($includes . '/envato-market/envato-market.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 : envato-theme-update.php
    Line 47: require_once( 'class-envato-protected-api.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