0
Validation results

Thoughts

Thoughts

WordPress 5.7.1 theme
0
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file functions.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. 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.
  3. Unwanted files : hidden file(s) or folder(s) .gitignore .bower.json .ds_store was found.
  4. Malware : Network operations curl_init was found in the file social.php
    Ligne47: $c = curl_init();
    curl_exec was found in the file social.php
    Ligne50: $contents = curl_exec( $c );
  5. Hidden admin bar : Hidden admin Bar Themes should not hide admin bar. Detected in file : filters.php.
  6. Deprecated functions : get_bloginfo get_bloginfo( 'url' ) was found in the file functions.php. Use home_url() instead.
    Ligne411: $image = get_bloginfo( 'url' ) . '/opengraph.png'; // Change this to the URL of the 
    Ligne429: <meta property='og:image' content='<?php echo get_bloginfo( 'url' ); ?>/opengraph.png'/>
    Ligne432: <meta property='og:url' content='<?php echo get_bloginfo( 'url' ); ?>'/>
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag minimal in style.css header.Found wrong tag typography in style.css header.The tag light has been deprecated, it must be removed from style.css header.The tag white has been deprecated, it must be removed from style.css header.Found wrong tag single-column in style.css header.Found wrong tag infinite-scroll in style.css header.Found wrong tag clean in style.css header.Found wrong tag professional in style.css header.Found wrong tag simple in style.css header.Found wrong tag blogging in style.css header.Found wrong tag responsive in style.css header.Found wrong tag retina-ready in 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 thoughts.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments '%1$s at %2$s' in file functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Your comment is awaiting moderation.' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Views' in file functions.php.Found a translation function that is missing a text-domain. Function esc_attr__, with the arguments "Submit" in file functions.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 thoughtstheme, thoughtsthemes.
  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 add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  6. Widgets : WidgetsThis theme contains no sidebars/widget areas. See Widgets API
  7. Unwanted directories : GIT revision control directoryA.git was found.
  8. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  9. 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.
  10. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  11. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  12. 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.
  13. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  14. 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.
  15. Tags : Tags displayThis theme doesn't seem to display tags.
  16. Screenshot : Screenshot fileScreenshot size is 600x450px. 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 footer.php.
    Ligne96: <a href='http://pixelrevel.com/themes/wordpress/thoughts'>Thoughts</a> by
    Ligne96: <a href='http://pixelrevel.com/themes/wordpress/thoughts'>Thoughts</a> by
    Ligne97: <a href='http://pixelrevel.com'>Pixel Revel</a>
  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 page template file page.phpThis theme does not contain optional file page.php.
  6. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  7. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  8. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  9. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  10. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  11. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  12. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  13. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  14. Use of includes : Use of include or requireThe theme appears to use include or require : 404.php
    Ligne22: <?php include 'partials/popular-articles.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
    Ligne54: 
    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