96
Validation results

Optimizer

Free WordPress 4.7.2 theme

Optimizer

Free WordPress 4.7.2 theme
96
This theme is open source.
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 gray has been deprecated, it must be removed from style.css header.The tag white 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.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 optimizer, customizer-library.
  3. 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.
  4. Screenshot : Screenshot fileScreenshot size is 600x450px. 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. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file extra.php.
    Line 329: <a href='https://www.layerthemes.com/support/theme/optimizer/' target='_blank' class
    Line 132: <a class='optim_docs' target='_blank' href='https://www.layerthemes.com/optimizer-documentation/' title='<?php _e('Docu
    Line 343: <a href='https://www.layerthemes.com/optimizer-documentation/' target='_blank'  clas
    Line 348: <a href='https://www.layerthemes.com/theme/optimizer-upgrade/' target='_blank'  clas
    Possible hard-coded links were found in the file upgrade-pro.php.
    Line 126: <a href='http://optimizer.layerthemes.com/demo1' target='_blank'><img src='http://i.
    Line 158: <a href='http://optimizer.layerthemes.com/demo10' target='_blank'><img src='http://i
    Line 161: <a href='http://optimizer.layerthemes.com/demo11' target='_blank'><img src='http://i
    Line 164: <a href='http://optimizer.layerthemes.com/demo12' target='_blank'><img src='http://i
    Line 129: <a href='http://optimizer.layerthemes.com/demo2' target='_blank'><img src='http://i.
    Line 132: <a href='http://optimizer.layerthemes.com/demo3' target='_blank'><img src='http://i.
    Line 135: <a href='http://optimizer.layerthemes.com/demo4' target='_blank'><img src='http://i.
    Line 138: <a href='http://optimizer.layerthemes.com/demo5' target='_blank'><img src='http://i.
    Line 141: <a href='http://optimizer.layerthemes.com/demo6' target='_blank'><img src='http://i.
    Line 148: <a href='http://optimizer.layerthemes.com/demo7' target='_blank'><img src='http://i.
    Line 151: <a href='http://optimizer.layerthemes.com/demo8' target='_blank'><img src='http://i.
    Line 155: <a href='http://optimizer.layerthemes.com/demo9' target='_blank'><img src='http://i.
    Line 158: <a href='http://optimizer.layerthemes.com/demo10' target='_blank'><img src='http://i
    Line 161: <a href='http://optimizer.layerthemes.com/demo11' target='_blank'><img src='http://i
    Line 164: <a href='http://optimizer.layerthemes.com/demo12' target='_blank'><img src='http://i
    Possible hard-coded links were found in the file upgrade.php.
    Line 175: <a href='http://optimizer.layerthemes.com/demo1' target='_blank'><img src='http://i.
    Line 203: <a href='http://optimizer.layerthemes.com/demo10' target='_blank'><img src='http://i
    Line 206: <a href='http://optimizer.layerthemes.com/demo11' target='_blank'><img src='http://i
    Line 209: <a href='http://optimizer.layerthemes.com/demo12' target='_blank'><img src='http://i
    Line 178: <a href='http://optimizer.layerthemes.com/demo2' target='_blank'><img src='http://i.
    Line 181: <a href='http://optimizer.layerthemes.com/demo3' target='_blank'><img src='http://i.
    Line 184: <a href='http://optimizer.layerthemes.com/demo4' target='_blank'><img src='http://i.
    Line 187: <a href='http://optimizer.layerthemes.com/demo5' target='_blank'><img src='http://i.
    Line 190: <a href='http://optimizer.layerthemes.com/demo6' target='_blank'><img src='http://i.
    Line 193: <a href='http://optimizer.layerthemes.com/demo7' target='_blank'><img src='http://i.
    Line 196: <a href='http://optimizer.layerthemes.com/demo8' target='_blank'><img src='http://i.
    Line 200: <a href='http://optimizer.layerthemes.com/demo9' target='_blank'><img src='http://i.
    Line 203: <a href='http://optimizer.layerthemes.com/demo10' target='_blank'><img src='http://i
    Line 206: <a href='http://optimizer.layerthemes.com/demo11' target='_blank'><img src='http://i
    Line 209: <a href='http://optimizer.layerthemes.com/demo12' target='_blank'><img src='http://i
  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 term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  6. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  7. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  8. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  9. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  10. Use of includes : Use of include or requireThe theme appears to use include or require : extra.php
    Line 382: require_once (ABSPATH . '/wp-admin/includes/file.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 : customizer.php
    Line 4: require(get_template_directory() . '/customizer/includes/control-toggle.php
    Line 5: require(get_template_directory() . '/customizer/includes/control-info.php')
    Line 6: require(get_template_directory() . '/customizer/includes/control-editor.php
    Line 7: require(get_template_directory() . '/customizer/includes/control-multicheck
    Line 8: require(get_template_directory() . '/customizer/includes/control-radioimg.p
    Line 9: require(get_template_directory() . '/customizer/includes/helpers.php');
    Line 261: require(get_template_directory() . '/customizer/controls/settings-basic.php
    Line 262: require(get_template_directory() . '/customizer/controls/settings-header.ph
    Line 263: require(get_template_directory() . '/customizer/controls/settings-frontpage
    Line 264: require(get_template_directory() . '/customizer/controls/settings-postpage.
    Line 265: require(get_template_directory() . '/customizer/controls/settings-footer.ph
    Line 266: require(get_template_directory() . '/customizer/controls/settings-misc.php'
    Line 267: require(get_template_directory() . '/customizer/controls/settings-code.php'
    Line 315: include_once(get_template_directory() . '/customizer/extra.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 : init.php
    Line 5: require(get_template_directory() . '/frontpage/widgets/front-about.php');
    Line 6: require(get_template_directory() . '/frontpage/widgets/front-blocks.php');
    Line 7: require(get_template_directory() . '/frontpage/widgets/front-text.php');
    Line 8: require(get_template_directory() . '/frontpage/widgets/front-posts.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 : enqueue.php
    Line 52: require(get_template_directory() . '/template_parts/custom-style.php');
    Line 59: require(get_template_directory() . '/template_parts/custom-javascript.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