0
Validation results

WP-Script Theme

WP-Script Theme

WordPress 4.9.1 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.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file functions.php. get_template_directory() should be used instead.
    Line 55: $theme_data = get_theme_data( TEMPLATEPATH . '/style.css');
  3. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  4. Deprecated functions : get_bloginfo get_bloginfo( 'template_url' ) was found in the file footer.php. Use get_template_directory_uri() instead.
    Line 17: videojs.options.flash.swf = . get_bloginfo( 'template_url' ) . '/js/vendor/videojs/video-js.swf';
    get_bloginfo('url') was found in the file functions.php. Use home_url() instead.
    Line 78: 'api-key' => md5(get_bloginfo('url'))
    Line 80: 'user-agent' => 'WordPress/' . $wp_version . '; ' . get_bloginfo('url')
  5. Deprecated functions : bloginfo bloginfo('url') was found in the file top-bar.php. Use echo esc_url( home_url() ) instead.
    Line 40: <form method='get' id='searchform' action='<?php bloginfo('url'); ?>/'>
    bloginfo('url') was found in the file header-content.php. Use echo esc_url( home_url() ) instead.
    Line 8: <form method='get' id='searchform' action='<?php bloginfo('url'); ?>/'>
  6. Registration of theme features : Implementation of add_theme_support() add_theme_support() was found in the file theme-support.php. However get_post_format and/or has_post_format were not found, and no use of formats in the CSS was detected.
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in enqueue-scripts.php. Themes must not deregister core scripts.
    Line 12: wp_deregister_script( 'jquery' );
    Line 15: //wp_deregister_script('mediaelement');
  2. special URIs : Presence of bad theme tagsTheme URI and Author URI should not be the same.
  3. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'An Unexpected HTTP Error occurred during the API request.</p> <p><a href="?" onclick="document.location.reload(); return false;">Try again</a>' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'An unknown error occurred' in file functions.php.
  5. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  6. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file style.css.
  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 reply : Declaration of comment replyCould not find the comment-reply script enqueued, however a reference to 'comment-reply' was found. Make sure that the comment-reply js script is being enqueued properly on singular pages.
  10. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  11. 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.
  12. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  13. CSS files : Presence of license typeLicense: is missing from style.css header.
  14. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  15. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  16. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  17. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  18. CSS files : Presence of .alignleft class.alignleft css class is needed in theme css.
  19. CSS files : Presence of .alignright class.alignright css class is needed in theme css.
  20. CSS files : Presence of .aligncenter class.aligncenter css class is needed in theme css.
  21. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  22. CSS files : Presence of .wp-caption-text class.wp-caption-text css class is needed in theme css.
  23. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  24. 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.
  25. Screenshot : Screenshot fileScreenshot dimensions are wrong! Detected: 520x450px (52:45). Ratio of width to height should be 4:3.Screenshot size is 520x450px. 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 header.php.
    Line 38: <a href='https://www.wp-script.com/' target='_blank'><img src='https://www.wp-script
    Line 39: <h3 style='padding-top: 40px; font-family: arial, sans-serif;'>Sorry, your theme is currently deactivated.<br /><br />To activate it, just download and install <a style='color: #d24d57;' href='https://www.wp-script.com/wp-content/uploads/wp-script.zip'>WP-Script plugi
    Possible hard-coded links were found in the file footer.php.
    Line 10: <p>&#169; <?php print(date('Y')); ?> <?php bloginfo('name'); ?> - <?php _e( 'All rights reserved', 'wp_script_theme' ); ?>. <?php _e( 'Powered by', 'wp_script_theme' ); ?> <a href='http://www.wpadultthemes.xyz' target='_blank' rel='dofollow' title='Wp Adul
    Possible hard-coded links were found in the file theme-activation.php.
    Line 78: <p><?php _e( 'Sorry, your theme is currently deactivated. To activate it, just download and install <strong><a href='https://www.wp-script.com/wp-content/uploads/wp-script.zip'>WP-Script plugi
  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 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. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  10. Optional files : Presence of 404 Not Found template file 404.phpThis theme does not contain optional file 404.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : theme-activation.php
    Line 69: require_once( ABSPATH . '/wp-admin/includes/plugin.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