0
Validation results

Darkcorp

Darkcorp

WordPress 4.9 theme
0
  • THEME TYPEWordPress theme 4.9
  • FILE NAMEithh.zip
  • FILE SIZE229195 bytes
  • MD5e4cdb7062a4480b89e6cf70c8b19b16c
  • SHA1ddee2402054e07a0bfec8777e1a6210f6aacae79
  • LICENSECreative Commons
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • THEME URIhttp://www.magpress.com/wordpress-themes/darkcorp.html
  • VERSION1.0
  • AUTHOR URI
  • TAGSwhite,black,three-columns,left-sidebar,right-sidebar,responsive-layout,editor-style,custom-menu,custom-background,custom-header,featured-images,full-width-template,theme-options,threaded-comments,microformats,translation-ready
  • CREATION DATE2017-01-24
  • LAST FILE UPDATE2017-03-08
  • LAST VALIDATION2017-03-08 16:45
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.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Widgets : Widgets Sidebars need to be registered in a custom function hooked to the widgets_init action. See: register_sidebar().
  3. Unwanted files : PHP error log error_log was found.
  4. Comment reply : Declaration of comment reply Could not find the comment-reply js script enqueued.
  5. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  6. Deprecated functions : wp_list_cats wp_list_cats found in file functions.php. Deprecated since version 2.1. Use wp_list_categories instead.
    Line 58: <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=1'); ?>
    wp_list_cats found in file sidebar-left.php. Deprecated since version 2.1. Use wp_list_categories instead.
    Line 10: <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=1'); ?>
  7. Deprecated functions : link_pages link_pages found in file page.php. Deprecated since version 2.1. Use wp_link_pages() instead.
    Line 13: <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
    link_pages found in file single.php. Deprecated since version 2.1. Use wp_link_pages() instead.
    Line 24: <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
  8. Deprecated functions : get_settings get_settings found in file header.php. Deprecated since version 2.1. Use get_option() instead.
    Line 56: <li class='page_item <?php if ( is_home() ) { ?>current_page_item<?php } ?>'><a href='<?php echo get_settings('home'); ?>/' title='Home'>Accueil</a></li>
  9. Deprecated functions : get_links get_links found in file functions.php. Deprecated since version 2.1. Use get_bookmarks() instead.
    Line 43: <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', FALSE, FALSE, -1, F
    get_links found in file sidebar-right.php. Deprecated since version 2.1. Use get_bookmarks() instead.
    Line 10: <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'name', FALSE, FALSE, -1,
  10. Deprecated functions : register_sidebar_widget register_sidebar_widget found in file functions.php. Deprecated since version 2.8. Use wp_register_sidebar_widget() instead.
    Line 13: if ( function_exists('register_sidebar_widget') )
    Line 14: register_sidebar_widget(__('Search'), 'widget_itheme_search');
    Line 34: if ( function_exists('register_sidebar_widget') )
    Line 35: register_sidebar_widget(__('Méta'), 'widget_itheme_meta');
    Line 49: if ( function_exists('register_sidebar_widget') )
    Line 50: register_sidebar_widget(__('Links'), 'widget_itheme_links');
    Line 65: if ( function_exists('register_sidebar_widget') )
    Line 66: register_sidebar_widget(__('Categories'), 'widget_itheme_categories');
  11. Deprecated functions : bloginfo bloginfo('stylesheet_directory') was found in the file header.php. Use echo esc_url( get_stylesheet_directory_uri() ) instead.
    Line 12: <link rel='stylesheet' href='<?php bloginfo('stylesheet_directory'); ?>/print.css' type='text/css' media='prin
    Line 15: <script type='text/javascript' src='<?php bloginfo('stylesheet_directory'); ?>/dbx.js'></script>
    Line 16: <script type='text/javascript' src='<?php bloginfo('stylesheet_directory'); ?>/dbx-key.js'></script>
    Line 17: <link rel='stylesheet' type='text/css' href='<?php bloginfo('stylesheet_directory'); ?>/dbx.css' media='screen, projection' />
    Line 20: <link rel='stylesheet' href='<?php bloginfo('stylesheet_directory'); ?>/ie-gif.css' type='text/css' />
    bloginfo('home') was found in the file searchform.php. Use echo esc_url( home_url() ) instead.
    Line 1: <form method='get' id='searchform' action='<?php bloginfo('home'); ?>/'>
  12. 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.
  13. Search form : Implementation File header.php :
    Line 44: <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    Use get_search_form() instead of including searchform.php directly.
Warning
  1. theme tags : Presence of bad theme tagsThe tag white 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 responsive-layout has been deprecated, it must be removed from style.css header.
  2. Text domain : Incorrect use of translation functions.Wrong installation directory for the theme name. The directory name must match the slug of the theme. This theme's correct slug and text-domain is darkcorp.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Search' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Méta' in file functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Liens' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Links' in file functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Catégories' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Categories' in file functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Liens' in file sidebar-right.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Catégories' in file sidebar-left.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Archives' in file sidebar-left.php.
  4. Fundamental theme elements : Presence of language_attributes()Could not find .
  5. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  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 body_class()Could not find body_class call in body tag.
  9. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  10. Fundamental theme elements : Presence of post_class()Could not find post_class.
  11. 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.
  12. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  13. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  14. 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.
  15. Avatar : Support of standard avatar functionsThis theme doesn't seem to support the standard avatar functions. Use get_avatar or wp_list_comments to add this support.
  16. Nav menu : Correct integrationNo reference to nav_menu was found in the theme.
  17. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  18. Featured image : Use of add_theme_support( 'post-thumbnails' ) in functions.php fileNo reference to post-thumbnails was found in the theme.
  19. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  20. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  21. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  22. CSS files : Presence of .alignleft class.alignleft css class is needed in theme css.
  23. CSS files : Presence of .alignright class.alignright css class is needed in theme css.
  24. CSS files : Presence of .aligncenter class.aligncenter css class is needed in theme css.
  25. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  26. CSS files : Presence of .wp-caption-text class.wp-caption-text css class is needed in theme css.
  27. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  28. CSS files : Presence of .screen-reader-text class.screen-reader-text css class is needed in your theme css. See : the Codex for an example implementation.
  29. Date and time implementation : Use of the_time()At least one hard coded date was found in the file index.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file search.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file single.php. Function get_option( 'date_format' ) should be used instead.
  30. Screenshot : Screenshot fileScreenshot size is 300x225px. 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. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  2. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  3. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.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 archive template file archive.phpThis theme does not contain optional file archive.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 : header.php
    Line 44: <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    Line 49: include_once('sidebar-left.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 : index.php
    Line 54: include_once('sidebar-right.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 : search.php
    Line 49: include_once('sidebar-right.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 : page.php
    Line 35: include_once('sidebar-right.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 56: include_once('sidebar-right.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 : 404.php
    Line 25: include_once('sidebar-right.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