73
Validation results

Barcelona.

Barcelona.

WordPress 4.8 theme
73
Critical alerts
  1. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was entry-views.zip agg-barcelona-shortcodes.zip.
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments 'Other Google Font' in file theme-options.php.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments 'Set Youtube Video Cover as Featured Image Automatically for Video Posts' in file theme-options.php.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments 'Enter any Google Font Code from http://www.google.com/fonts for headings. Example of code: "Open Sans"' in file theme-options.php.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments 'Enter any Google Font Code from http://www.google.com/fonts for general body text. Example of code: "Open Sans"' in file theme-options.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 barcelona, tgmpa, default, example, option-tree.
  3. Unwanted files : Windows thumbnail storethumbs.db was found.
  4. Unwanted files : hidden file(s) or folder(s).ds_store was found.
  5. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  6. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  7. Screenshot : Screenshot fileScreenshot size is 880x660px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.Bad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. favicon presence : Favicon managementPossible Favicon found in scripts.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  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 : page-modules.php
    Ligne266: include( locate_template( 'includes/modules/module-' . $barcelona_mod['modu
    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 : archive.php
    Ligne45: include( locate_template( 'includes/modules/module-'. barcelona_get_option(
    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 : template-tags.php
    Ligne880: include( locate_template( 'includes/modules/module-f.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 : ajax.php
    Ligne168: include( locate_template( 'includes/modules/module-' . $barcelona_mod['modu
    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 : index.php
    Ligne13: include( locate_template( 'includes/modules/module-'. barcelona_get_option(
    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 : search.php
    Ligne31: include( locate_template( 'includes/modules/module-'. barcelona_get_option(
    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
    Ligne751: require( trailingslashit( get_template_directory() ) . \'includes/meta-boxe
    Ligne834: require( trailingslashit( get_template_directory() ) . \'option-tree/ot-loa
    Ligne851: 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
    Ligne550: 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.

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 ).

74
Critical alerts
  1. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was entry-views.zip agg-barcelona-shortcodes.zip.
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments 'Other Google Font' in file theme-options.php.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments 'Set Youtube Video Cover as Featured Image Automatically for Video Posts' in file theme-options.php.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments 'Enter any Google Font Code from http://www.google.com/fonts for headings. Example of code: "Open Sans"' in file theme-options.php.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments 'Enter any Google Font Code from http://www.google.com/fonts for general body text. Example of code: "Open Sans"' in file theme-options.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 barcelona, tgmpa, default, example, option-tree.
  3. Unwanted files : Windows thumbnail storethumbs.db was found.
  4. Unwanted files : hidden file(s) or folder(s).ds_store was found.
  5. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  6. Screenshot : Screenshot fileScreenshot size is 880x660px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.Bad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. favicon presence : Favicon managementPossible Favicon found in scripts.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  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 : page-modules.php
    Ligne266: include( locate_template( 'includes/modules/module-' . $barcelona_mod['modu
    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 : archive.php
    Ligne45: include( locate_template( 'includes/modules/module-'. barcelona_get_option(
    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 : template-tags.php
    Ligne880: include( locate_template( 'includes/modules/module-f.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 : ajax.php
    Ligne168: include( locate_template( 'includes/modules/module-' . $barcelona_mod['modu
    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 : index.php
    Ligne13: include( locate_template( 'includes/modules/module-'. barcelona_get_option(
    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 : search.php
    Ligne31: include( locate_template( 'includes/modules/module-'. barcelona_get_option(
    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
    Ligne751: require( trailingslashit( get_template_directory() ) . \'includes/meta-boxe
    Ligne834: require( trailingslashit( get_template_directory() ) . \'option-tree/ot-loa
    Ligne851: 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
    Ligne550: 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.
Other checked themes