53
Validation results

Youplay

Youplay

WordPress 4.9.7 theme
53
Critical alerts
  1. Inapropriate constants : Use of HEADER_TEXTCOLOR Constant HEADER_TEXTCOLOR was found in the file custom-header.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 41: // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value
    Line 42: if ( HEADER_TEXTCOLOR == $header_text_color ) {
  2. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was products_slider.zip.
Warning
  1. theme tags : Too many subject tags
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'buddypress-media' in file media-gallery.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'buddypress-media' in file album-gallery.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'buddypress-media' in file media-single-edit.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'buddypress-media' in file media-single.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'youplay' in file cart-totals.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 youplay, buddypress-media, buddypress, option-tree, ventus, theme-domain, tgmpa, woocommerce, login-with-ajax.
  3. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file style.css.
  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.
  6. I18N implementation : Proper use of _e(Possible variable $opt_name found in translation function in theme-options.php. Translation function calls should not contain PHP variables.
    Line 54: function yp_opts_e($opt_name = null, $use_meta_box = null, $postId = null){
  7. 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 change-avatar.php.
    Line 24: <p><?php _e( 'Your profile photo will be used on your profile and throughout the site. If there is a <a href='http://gravatar.com'>Gravatar</a> associated with your account email we wil
    Line 81: <p><?php _e( 'Your profile photo will be used on your profile and throughout the site. To change your profile photo, please create an account with <a href='http://gravatar.com'>Gravatar</a> using the same email address as you used 
    Line 24: <p><?php _e( 'Your profile photo will be used on your profile and throughout the site. If there is a <a href='http://gravatar.com'>Gravatar</a> associated with your account email we wil
    Line 81: <p><?php _e( 'Your profile photo will be used on your profile and throughout the site. To change your profile photo, please create an account with <a href='http://gravatar.com'>Gravatar</a> using the same email address as you used 
    Possible hard-coded links were found in the file class-nk-admin-pages.php.
    Line 149: <a href='https://twitter.com/share' class='twitter-share-button' data-url='<?php ech
    Possible hard-coded links were found in the file theme-options.php.
    Line 3584: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3645: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3706: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3767: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3584: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3645: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3706: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3767: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3584: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3645: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3706: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3767: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3584: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3645: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3706: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3767: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3820: 'label'       => sprintf(esc_html__('How to create Twitter API keys you can read here (or use google):  - %s', 'youplay'), '<a href='http://www.gabfirethemes.com/create-twitter-api-key/' target='_blank'>http:
    Line 3934: 'label'       => sprintf(esc_html__('How to generate access token (or use google) - %s', 'youplay'), '<a href='http://instagram.pixelunion.net/' target='_blank'>http://instagram.pixeluni
  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 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 attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  10. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : media-gallery.php
    Line 46: <?php include( 'media-gallery-item.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 : album-gallery.php
    Line 34: <?php include( 'album-gallery-item.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 : album-single-edit.php
    Line 93: <?php include( 'media-gallery-item.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 : ot-functions-docs-page.php
    Line 751: require( trailingslashit( get_template_directory() ) . \'includes/meta-boxe
    Line 834: require( trailingslashit( get_template_directory() ) . \'option-tree/ot-loa
    Line 851: require( trailingslashit( get_template_directory() ) . \'includes/theme-opt
    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 : ot-loader.php
    Line 554: include_once( $file );
    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-wc-widget-product-categories.php
    Line 231: include_once( WC()->plugin_path() . '/includes/walkers/class-product-cat-li
    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 ).

56
Critical alerts
  1. Inapropriate constants : Use of HEADER_TEXTCOLOR Constant HEADER_TEXTCOLOR was found in the file custom-header.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 41: // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value
    Line 42: if ( HEADER_TEXTCOLOR == $header_text_color ) {
  2. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was products_slider.zip.
Warning
  1. theme tags : Too many subject tags
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'buddypress-media' in file media-gallery.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'buddypress-media' in file album-gallery.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'buddypress-media' in file media-single-edit.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'buddypress-media' in file media-single.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'youplay' in file cart-totals.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 youplay, buddypress-media, buddypress, option-tree, ventus, theme-domain, tgmpa, woocommerce, login-with-ajax.
  3. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file style.css.
  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 change-avatar.php.
    Line 24: <p><?php _e( 'Your profile photo will be used on your profile and throughout the site. If there is a <a href='http://gravatar.com'>Gravatar</a> associated with your account email we wil
    Line 81: <p><?php _e( 'Your profile photo will be used on your profile and throughout the site. To change your profile photo, please create an account with <a href='http://gravatar.com'>Gravatar</a> using the same email address as you used 
    Line 24: <p><?php _e( 'Your profile photo will be used on your profile and throughout the site. If there is a <a href='http://gravatar.com'>Gravatar</a> associated with your account email we wil
    Line 81: <p><?php _e( 'Your profile photo will be used on your profile and throughout the site. To change your profile photo, please create an account with <a href='http://gravatar.com'>Gravatar</a> using the same email address as you used 
    Possible hard-coded links were found in the file class-nk-admin-pages.php.
    Line 149: <a href='https://twitter.com/share' class='twitter-share-button' data-url='<?php ech
    Possible hard-coded links were found in the file theme-options.php.
    Line 3584: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3645: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3706: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3767: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3584: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3645: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3706: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3767: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3584: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3645: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3706: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3767: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3584: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3645: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3706: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3767: 'desc'        => 'Icon <a href='http://fontawesome.io/' taget='_blank'>http://fontawesome.io/</a>',
    Line 3820: 'label'       => sprintf(esc_html__('How to create Twitter API keys you can read here (or use google):  - %s', 'youplay'), '<a href='http://www.gabfirethemes.com/create-twitter-api-key/' target='_blank'>http:
    Line 3934: 'label'       => sprintf(esc_html__('How to generate access token (or use google) - %s', 'youplay'), '<a href='http://instagram.pixelunion.net/' target='_blank'>http://instagram.pixeluni
  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 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 attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  10. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : media-gallery.php
    Line 46: <?php include( 'media-gallery-item.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 : album-gallery.php
    Line 34: <?php include( 'album-gallery-item.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 : album-single-edit.php
    Line 93: <?php include( 'media-gallery-item.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 : ot-functions-docs-page.php
    Line 751: require( trailingslashit( get_template_directory() ) . \'includes/meta-boxe
    Line 834: require( trailingslashit( get_template_directory() ) . \'option-tree/ot-loa
    Line 851: require( trailingslashit( get_template_directory() ) . \'includes/theme-opt
    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 : ot-loader.php
    Line 554: include_once( $file );
    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-wc-widget-product-categories.php
    Line 231: include_once( WC()->plugin_path() . '/includes/walkers/class-product-cat-li
    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