10
Validation results

Fit Coach

Fit Coach

WordPress 4.9 theme
10
  • THEME TYPEWordPress theme 4.9
  • FILE NAMEfitcoach.zip
  • FILE SIZE996953 bytes
  • MD5fecd851fbd4f76a9fe5b2e45333e3b71
  • SHA1c869118cf1888c81bba4080910efdd7a2fb0c1fb
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, XML, Bitmap images, Adobe Illustrator
  • DEMO PAGEhttp://modernthemes.net/demo/fitcoach
  • VERSION1.49.1
  • AUTHOR URI
  • CREATION DATE2017-05-22
  • LAST FILE UPDATE2017-07-28
  • LAST VALIDATION2017-07-28 19:13
  • OTHER VERSIONS

    1.41 : 31%

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.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 fit-coach.
  4. Text domain : Incorrect use of translation functions.Found a translation function that has an incorrect number of arguments. Function esc_html__, with the arguments 'Slider', Post Type General Name, 'fitcoach' in file functions.php.Found a translation function that has an incorrect number of arguments. Function esc_html__, with the arguments 'Slide', Post Type Singular Name, 'fitcoach' in file functions.php.Found a translation function that has an incorrect number of arguments. Function esc_html__, with the arguments 'Classes', Post Type General Name, 'fitcoach' in file functions.php.Found a translation function that has an incorrect number of arguments. Function esc_html__, with the arguments 'Class', Post Type Singular Name, 'fitcoach' in file functions.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.Found a translation function that is missing a text-domain. Function __, with the arguments 'social_icon' in file socialicons.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 fitcoach, tgmpa, Post Type General Name, Post Type Singular Name, cmb.
  5. 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.
  6. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.
  7. PHP short tags : Presence of PHP short tagsPHP short tags were found in file contact-form-widget.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Line 136: <option value='<? echo $post->ID; ?>' placeholder='Class Name'><?php the_title(); ?></opti
  8. 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.
  9. 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' ),
  10. 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>.', 'fitcoach
    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 88: <?php printf( __( 'Theme: %1$s by %2$s', 'fitcoach' ), 'fitcoach', '<a href='http://modernthemes.net' rel='designer'>modernthemes.net</a>' ); ?>
    Possible hard-coded links were found in the file functions.php.
    Line 445: 'desc' => __( 'Enter the embed URL of a custom google map.<br />You can generate it <a href='https://www.google.com/maps/'>here</a>. For instructions, click <a href='ht
    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','fitcoa
    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','fitcoach').'</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
    Line 466: 'description' => __( 'Customize your footer area. Choose from any of <a href='http://fortawesome.github.io/Font-Awesome/cheatsheet/' target='_blank'>thes
  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.
Other checked themes