0
Validation results

Mercury

Mercury

WordPress 4.7.5 theme
0
Critical alerts
  1. Title : Title No reference to add_theme_support( "title-tag" ) was found in the theme.The theme needs to have <title> tags, ideally in the header.php file.The theme needs to have a call to wp_title(), ideally in the header.php file.
  2. Widgets : Widgets Sidebars need to be registered in a custom function hooked to the widgets_init action. See: register_sidebar().
  3. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe width="100%" src="https://www.youtube.com/embed/7S5lJ_DKrXw" frameborder="0" allowfullscreen> in file home.php.
    Line 57: <iframe width='100%' src='https://www.youtube.com/embed/7S5lJ_DKrXw' frameb
  4. Comment reply : Declaration of comment reply Could not find the comment-reply js script enqueued.
  5. Post pagination : Implementation The theme doesn't have post pagination code in it. Use posts_nav_link() or paginate_links() or the_posts_pagination() or the_posts_navigation() or next_posts_link() and previous_posts_link() to add post pagination.
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 _e, with the arguments 'Sorry, no posts matched your criteria.' in file archive.php.Found a translation function that is missing a text-domain. Function __, with the arguments '(more…)' in file search.php.Found a translation function that is missing a text-domain. Function __, with the arguments '(more…)' in file section-excerpt-date.php.Found a translation function that is missing a text-domain. Function __, with the arguments '(more…)' in file section-excerpt.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 presentation, custom_title, mercury.
  3. Cdn : Use of CDNFound the URL of a CDN in the code: maxcdn.bootstrapcdn.com/font-awesome. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  4. Fundamental theme elements : Presence of language_attributes()Could not find .
  5. Fundamental theme elements : Presence of comments_template()Could not find comments_template.
  6. Fundamental theme elements : Presence of wp_list_comments()Could not find wp_list_comments.
  7. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  8. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  9. Comment pagination : Declaration of comment paginationThe theme doesn't have comment pagination code in it. Use paginate_comments_links() to add comment pagination, or older previous_comments_link() and next_comments_link() functions.
  10. 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.
  11. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  12. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  13. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  14. CSS files : Presence of .alignright class.alignright css class is needed in theme css.
  15. CSS files : Presence of .aligncenter class.aligncenter css class is needed in theme css.
  16. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  17. CSS files : Presence of .wp-caption-text class.wp-caption-text css class is needed in theme css.
  18. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  19. Date and time implementation : Use of the_time()At least one hard coded date was found in the file section.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file section-excerpt-date.php. Function get_option( 'date_format' ) should be used instead.
  20. Screenshot : Screenshot fileScreenshot is wrong size! Detected: 1355x900px. Maximum allowed size is 1200x900px.Screenshot dimensions are wrong! Detected: 1355x900px (271:180). Ratio of width to height should be 4:3.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 header.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  2. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file stream.php.
    Line 32: <a href='https://igg.me/at/worldmercuryproject' target='_blank'><img style='margin: 
    Line 36: <p style='margin-bottom: 20px;'><a href='https://igg.me/at/worldmercuryproject'>Join the movement by supporting our 
    Line 32: <a href='https://igg.me/at/worldmercuryproject' target='_blank'><img style='margin: 
    Line 36: <p style='margin-bottom: 20px;'><a href='https://igg.me/at/worldmercuryproject'>Join the movement by supporting our 
    Possible hard-coded links were found in the file main-nav.php.
    Line 136: <li><a href='https://www.facebook.com/WorldMercuryProject/'><img src='<?php echo esc_url
    Line 137: <li><a href='https://twitter.com/worldmercury'><img src='<?php echo esc_url( get_stylesh
    Line 138: <li><a href='https://www.youtube.com/channel/UCZcW0uVZDTaEXfBS-JV-zUg'><img src='<?php e
  3. Mandatory files : Presence of file comments.phpCould not find file comments.php in the theme.
  4. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  5. Optional files : Presence of comments template file comments.phpThis theme does not contain optional file comments.php.
  6. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  7. Optional files : Presence of single post template file single.phpThis theme does not contain optional file comments.php.
  8. Optional files : Presence of page template file page.phpThis theme does not contain optional file page.php.
  9. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  10. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  11. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  12. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  13. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  14. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  15. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  16. Use of includes : Use of include or requireThe theme appears to use include or require : header.php
    Line 43: <?php include_once('inc/analyticstracking.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 : single.php
    Line 13: include(TEMPLATEPATH . '/single-no-image.php'); } 
    Line 17: include(TEMPLATEPATH . '/single-store.php'); } 
    Line 21: include(TEMPLATEPATH . '/single-link.php'); }
    Line 25: include(TEMPLATEPATH . '/single-link.php'); }
    Line 29: include(TEMPLATEPATH . '/single-link.php'); }
    Line 33: include(TEMPLATEPATH . '/single-link.php'); }
    Line 37: include(TEMPLATEPATH . '/single-link.php'); }
    Line 42: include(TEMPLATEPATH . '/single-whatelse.php'); } 
    Line 47: include(TEMPLATEPATH . '/single-default.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 ).

0
Critical alerts
  1. Title : Title No reference to add_theme_support( "title-tag" ) was found in the theme.The theme needs to have <title> tags, ideally in the header.php file.The theme needs to have a call to wp_title(), ideally in the header.php file.
  2. Widgets : Widgets Sidebars need to be registered in a custom function hooked to the widgets_init action. See: register_sidebar().
  3. Comment reply : Declaration of comment reply Could not find the comment-reply js script enqueued.
  4. Post pagination : Implementation The theme doesn't have post pagination code in it. Use posts_nav_link() or paginate_links() or the_posts_pagination() or the_posts_navigation() or next_posts_link() and previous_posts_link() to add post pagination.
  5. Mandatory files : Presence of file comments.php Could not find file comments.php in the theme.
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 _e, with the arguments 'Sorry, no posts matched your criteria.' in file archive.php.Found a translation function that is missing a text-domain. Function __, with the arguments '(more…)' in file search.php.Found a translation function that is missing a text-domain. Function __, with the arguments '(more…)' in file section-excerpt-date.php.Found a translation function that is missing a text-domain. Function __, with the arguments '(more…)' in file section-excerpt.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 presentation, custom_title, mercury.
  3. Cdn : Use of CDNFound the URL of a CDN in the code: maxcdn.bootstrapcdn.com/font-awesome. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  4. Fundamental theme elements : Presence of language_attributes()Could not find .
  5. Fundamental theme elements : Presence of comments_template()Could not find comments_template.
  6. Fundamental theme elements : Presence of wp_list_comments()Could not find wp_list_comments.
  7. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  8. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  9. Comment pagination : Declaration of comment paginationThe theme doesn't have comment pagination code in it. Use paginate_comments_links() to add comment pagination, or older previous_comments_link() and next_comments_link() functions.
  10. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  11. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  12. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  13. CSS files : Presence of .alignright class.alignright css class is needed in theme css.
  14. CSS files : Presence of .aligncenter class.aligncenter css class is needed in theme css.
  15. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  16. CSS files : Presence of .wp-caption-text class.wp-caption-text css class is needed in theme css.
  17. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  18. Date and time implementation : Use of the_time()At least one hard coded date was found in the file section.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file section-excerpt-date.php. Function get_option( 'date_format' ) should be used instead.
  19. Screenshot : Screenshot fileScreenshot is wrong size! Detected: 1355x900px. Maximum allowed size is 1200x900px.Screenshot dimensions are wrong! Detected: 1355x900px (271:180). Ratio of width to height should be 4:3.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 header.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  2. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file stream.php.
    Line 32: <a href='https://igg.me/at/worldmercuryproject' target='_blank'><img style='margin: 
    Line 36: <p style='margin-bottom: 20px;'><a href='https://igg.me/at/worldmercuryproject'>Join the movement by supporting our 
    Line 32: <a href='https://igg.me/at/worldmercuryproject' target='_blank'><img style='margin: 
    Line 36: <p style='margin-bottom: 20px;'><a href='https://igg.me/at/worldmercuryproject'>Join the movement by supporting our 
    Possible hard-coded links were found in the file main-nav.php.
    Line 136: <li><a href='https://www.facebook.com/WorldMercuryProject/'><img src='<?php echo esc_url
    Line 137: <li><a href='https://twitter.com/worldmercury'><img src='<?php echo esc_url( get_stylesh
    Line 138: <li><a href='https://www.youtube.com/channel/UCZcW0uVZDTaEXfBS-JV-zUg'><img src='<?php e
  3. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  4. Optional files : Presence of comments template file comments.phpThis theme does not contain optional file comments.php.
  5. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  6. Optional files : Presence of single post template file single.phpThis theme does not contain optional file comments.php.
  7. Optional files : Presence of page template file page.phpThis theme does not contain optional file page.php.
  8. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  9. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  10. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  11. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  12. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  13. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  14. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  15. Use of includes : Use of include or requireThe theme appears to use include or require : header.php
    Line 43: <?php include_once('inc/analyticstracking.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 : single.php
    Line 13: include(TEMPLATEPATH . '/single-no-image.php'); } 
    Line 17: include(TEMPLATEPATH . '/single-store.php'); } 
    Line 21: include(TEMPLATEPATH . '/single-link.php'); }
    Line 25: include(TEMPLATEPATH . '/single-link.php'); }
    Line 29: include(TEMPLATEPATH . '/single-link.php'); }
    Line 33: include(TEMPLATEPATH . '/single-link.php'); }
    Line 37: include(TEMPLATEPATH . '/single-link.php'); }
    Line 42: include(TEMPLATEPATH . '/single-whatelse.php'); } 
    Line 47: include(TEMPLATEPATH . '/single-default.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