8
Validation results

North Coast Diesel Service

North Coast Diesel Service

WordPress 4.7.4 theme
8
  • THEME TYPEWordPress theme 4.7.4
  • FILE NAMEnorthcoastdieselservice_20-04-17.zip
  • FILE SIZE2528471 bytes
  • MD5abb80137ac7e0233bea6fadfb46c7660
  • SHA119ad4b42b54de4fe99bbfa569aa3901b74149d1d
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • THEME URIhttp://dieselservice.net.au/
  • VERSION1.0
  • TAGSone-column
  • CREATION DATE2017-04-20
  • LAST FILE UPDATE2017-04-20
  • LAST VALIDATION2017-04-20 11:26
Critical alerts
  1. Unwanted files : hidden file(s) or folder(s) .keep .ds_store was found.
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File admin-save.php :
    Line 64: //add_menu_page($themename.' Options', 'Theme Options', 'edit_themes', 'theme
  3. Hidden admin bar : Hidden admin Bar Themes should not hide admin bar. Detected in file : custom-hooks.php.
  4. Deprecated functions : bloginfo bloginfo('stylesheet_directory') was found in the file header.php. Use echo esc_url( get_stylesheet_directory_uri() ) instead.
    Line 51: <a href='<?php echo get_option('ncd_facebook'); ?>' target='_blank'><img src='<?php bloginfo('stylesheet_directory'); ?>/images/facebook.png' alt='Facebook'></
    Line 54: <a href='<?php echo get_option('ncd_youtube'); ?>' target='_blank'><img src='<?php bloginfo('stylesheet_directory'); ?>/images/youtube.png' alt='Youtube'></a>
    bloginfo('stylesheet_directory') was found in the file 404.php. Use echo esc_url( get_stylesheet_directory_uri() ) instead.
    Line 15: <img src='<?php bloginfo('stylesheet_directory'); ?>/images/img404.jpg'>
Warning
  1. 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 north-coast-diesel-service.
  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 twentysixteen, northcoastdiesel, coastal.
  3. Cdn : Use of CDNFound the URL of a CDN in the code: maxcdn.bootstrapcdn.com/bootstrap. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  4. 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.
  5. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  6. CSS files : Presence of .aligncenter class.aligncenter css class is needed in theme css.
  7. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  8. CSS files : Presence of .wp-caption-text class.wp-caption-text css class is needed in theme css.
  9. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  10. 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.
  11. CSS files : Presence of Author URICould not find Author URI.
  12. Screenshot : Screenshot fileScreenshot is wrong size! Detected: 1231x902px. Maximum allowed size is 1200x900px.Screenshot dimensions are wrong! Detected: 1231x902px (1231:902). 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. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  2. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  3. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  4. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  5. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  6. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  7. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  8. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  9. Use of includes : Use of include or requireThe theme appears to use include or require : icon-functions.php
    Line 19: //require_once( $svg_icons );
    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 : theme-options.php
    Line 161: require_once( dirname( __FILE__ ) . '/admin/admin-save.php' );
    Line 163: require_once( dirname( __FILE__ ) . '/admin/admin-structure.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 : admin-metabox.php
    Line 106: case 'text':		require('admin-textbox.php' ); 	break;
    Line 107: case 'textarea':	require('admin-textarea.php' );	break;
    Line 108: case 'media_upload':require('admin-upload.php' );	break;
    Line 109: case 'colorPicker':	require('admin-color.php' );	break;
    Line 110: case 'select':		require('admin-select.php' ); 	break;
    Line 111: case 'radio': 		require('admin-radio.php' );   	break;
    Line 112: case 'checkbox': 	require('admin-check.php' );	break;
    Line 113: case 'wp_editor': 	require('admin-editor.php' );	break;
    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 : admin-structure.php
    Line 72: case 'text':		require('admin-textbox.php' ); 	 break;
    Line 73: case 'textarea':	require('admin-textarea.php' );	 break;
    Line 74: case 'media_upload':require('admin-upload.php' );	 break;
    Line 75: case 'colorPicker':	require('admin-color.php' );	 break;
    Line 76: case 'select':		require('admin-select.php' ); 	 break;
    Line 77: case 'radio': 		require('admin-radio.php' );   	 break;
    Line 78: case 'checkbox': 	require('admin-check.php' );	 break; 
    Line 79: case 'wp_editor': 	require('admin-editor.php' );	 break; 
    Line 80: case 'social_rep': 	require('admin-socialrep.php' ); break; 
    Line 81: case 'asso_rep': 	require('admin-asso.php' );      break; 
    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
Error 8 : Undefined index: slug
In /home/www/themecheck/themecheck/controllers/controller_results.php line 511
Error 8 : Undefined index: slug
In /home/www/themecheck/themecheck/controllers/controller_results.php line 511
Error 8 : Undefined index: slug
In /home/www/themecheck/themecheck/controllers/controller_results.php line 511