12
Validation results

Sporta

Sporta

WordPress 4.7.2 theme
12
  • THEME TYPEWordPress theme 4.7.2
  • FILE NAMEsporta.zip
  • FILE SIZE861729 bytes
  • MD532a322825e38c07bc6699a553f937e5a
  • SHA1ae7810cba8acbde7d5d7e9bca5fbcfeec312ca08
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, XML, Bitmap images, Adobe Illustrator
  • DEMO PAGEhttp://modernthemes.net/demo/sporta
  • VERSION1.30.5
  • AUTHOR URI
  • CREATION DATE2016-06-08
  • LAST FILE UPDATE2016-10-08
  • LAST VALIDATION2016-10-08 02:03
  • OTHER VERSIONS

    1.26 : 32%

This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
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. Malware : Operations on file system file_put_contents was found in the file my-custom-css.php
    Line 45: $makecss = file_put_contents(css_path(), '/********* Do not edit this file *********/\
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php :
    Line 646: $this->page_hook = call_user_func( 'add_{$type}_page', $args['parent_slug'], $args['page_title'], $args['menu_t
  4. Inapropriate constants : Use of HEADER_TEXTCOLOR Constant HEADER_TEXTCOLOR was found in the file custom-header.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 49: // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value
    Line 50: if ( HEADER_TEXTCOLOR == $header_text_color ) {
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in my-custom-css.php. Themes must not deregister core scripts.
    Line 104: wp_deregister_script('wpeditor');
    Line 105: wp_deregister_script('wp-editor-posts-jquery');
    Line 106: wp_deregister_script('fancybox');
    Line 107: wp_deregister_script('codemirror');
    Line 108: wp_deregister_script('codemirror_php');
    Line 109: wp_deregister_script('codemirror_javascript');
    Line 110: wp_deregister_script('codemirror_css');
    Line 111: wp_deregister_script('codemirror_xml');
    Line 112: wp_deregister_script('codemirror_clike');
    Line 113: wp_deregister_script('codemirror_dialog');
    Line 114: wp_deregister_script('codemirror_search');
    Line 115: wp_deregister_script('codemirror_searchcursor');
    Line 116: wp_deregister_script('codemirror_mustache');
  2. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'No products found' in file page-home.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'No products found' in file page-home.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'social_icon' in file socialicons.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Clear' in file init.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Default' in file init.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Select Color' in file init.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Current Color' in file init.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Save' in file init.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 sporta, tgmpa, cmb, mccss, personal.
  4. 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.
  5. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.
  6. 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.
  7. I18N implementation : Proper use of ___all(Possible variable $social_site found in translation function in socialicons.php. Translation function calls should not contain PHP variables.
    Line 36: 'label'   => __( '$social_site url:', 'social_icon' ),
  8. 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. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file theme-admin_page.php.
    Line 229: echo '<a href='https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7LMGYA
    Line 237: printf(__('Check out our <a href='http://modernthemes.net/documentation/'>ModernThemes documentation</a> to l
    Line 240: echo '<a href='http://modernthemes.net/documentation/' target='_blank'><button>'; 
    Line 237: printf(__('Check out our <a href='http://modernthemes.net/documentation/'>ModernThemes documentation</a> to l
    Line 240: echo '<a href='http://modernthemes.net/documentation/' target='_blank'><button>'; 
    Line 249: printf(__('Want more WordPress themes or support and customization? We can probably help you out at <a href='http://modernthemes.net/' target='_blank'>modernthemes.net</a>.', 'sporta' 
    Line 252: echo '<a href='http://modernthemes.net/our-company/' target='_blank'><button>';
    Possible hard-coded links were found in the file footer.php.
    Line 48: <?php	printf( __( 'Theme: %1$s by %2$s', 'sporta' ), 'sporta', '<a href='http://modernthemes.net' rel='designer'>modernthemes.net</a>' ); ?> 
    Possible hard-coded links were found in the file my-custom-css.php.
    Line 61: $settings_link = '<a href='admin.php?page=my_custom_css' title='My Custom CSS'>'.__('Settings','mccss'
    Line 10: Author URI: http://www.darkwolf.it/
    Line 54: echo '\n<!-- My Custom CSS Start -->\n<style type=\'text/css\'>\n/* Plugin Author: Salvatore Noschese */\n@import url(''.css_url().'?'.filemtime(css_path()).'');\n/* Also known as: DarkWolf - http://www.darkwolf.it/ */\n</style>\n<!-- My Custom CSS End -->\n';
    Line 64: $support_forum = '<a href='http://www.darkwolf.it/' title='DarkWolf'>'.__('Support','mccss').'</a>';
    Line 73: $links[] = '<a href='http://www.darkwolf.it/donate-wp' title='Buy Me a Beer ;)'>Donate :)</a>';
    Line 73: $links[] = '<a href='http://www.darkwolf.it/donate-wp' title='Buy Me a Beer ;)'>Donate :)</a>';
    Possible hard-coded links were found in the file customizer.php.
    Line 27: 'description' => __('We do all we can do to make all our themes free for you. While we enjoy it, and it makes us happy to help out, a little appreciation can help us to keep theming.</strong><br/><br/> Please help support our mission and continued development with a donation of $5, $10, $20, or if you are feeling really kind $100..<br/><br/> <a href='https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7LMGYA
  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 : init.php
    Line 227: @include( $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.
    The theme appears to use include or require : example-functions.php
    Line 413: require_once 'init.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