0
Validation results

Wolfram

Wolfram

WordPress 4.9 theme
0
  • THEME TYPEWordPress theme 4.9
  • FILE NAMEwolfram.zip
  • FILE SIZE248262 bytes
  • MD5524e33365fa3df65b80b36aab8768645
  • SHA1b7d4818c86afa746fe72586a54b66d6bd40957e7
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • THEME URIhttp://www.planetstarta.com
  • VERSION1.0
  • AUTHOR URI
  • CREATION DATE2017-05-18
  • LAST FILE UPDATE2017-05-18
  • LAST VALIDATION2017-05-18 17:25
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file themeoptions.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. Widgets : Widgets Sidebars need to be registered in a custom function hooked to the widgets_init action. See: register_sidebar().
  4. Inapropriate constants : Use of STYLESHEETPATH Constant STYLESHEETPATH was found in the file functionsOld.php. get_stylesheet_directory() should be used instead.
    Line 540: $include = apply_filters('comments_template', STYLESHEETPATH . $file );
    Constant STYLESHEETPATH was found in the file functions.php. get_stylesheet_directory() should be used instead.
    Line 540: $include = apply_filters('comments_template', STYLESHEETPATH . $file );
  5. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file functionsOld.php. get_template_directory() should be used instead.
    Line 543: elseif ( file_exists( TEMPLATEPATH . $file ) )
    Line 544: require( TEMPLATEPATH .  $file );
    Constant TEMPLATEPATH was found in the file functions.php. get_template_directory() should be used instead.
    Line 543: elseif ( file_exists( TEMPLATEPATH . $file ) )
    Line 544: require( TEMPLATEPATH .  $file );
  6. Inapropriate constants : Use of HEADER_IMAGE Constant HEADER_IMAGE' was found in the file themeoptions.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 46: define('HEADER_IMAGE', '');
  7. Inapropriate constants : Use of HEADER_TEXTCOLOR Constant HEADER_TEXTCOLOR' was found in the file themeoptions.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 45: define('HEADER_TEXTCOLOR', '#281f1f');
  8. Inapropriate constants : Use of HEADER_IMAGE_WIDTH Constant HEADER_IMAGE_WIDTH' was found in the file themeoptions.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 47: define('HEADER_IMAGE_WIDTH', 960);
  9. Inapropriate constants : Use of HEADER_IMAGE_HEIGHT Constant HEADER_IMAGE_HEIGHT' was found in the file themeoptions.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 48: define('HEADER_IMAGE_HEIGHT', 10);
  10. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  11. Deprecated functions : get_bloginfo get_bloginfo( 'template_directory' ) was found in the file functionsOld.php. Use get_template_directory_uri() instead.
    Line 35: wp_register_style('swstyleops', get_bloginfo( 'template_directory' ) . '/swstyleops.css');wp_enqueue_style(
    Line 36: wp_register_style('swstatstyle', get_bloginfo( 'template_directory' ) . '/swstatstyle.css');wp_enqueue_style
    Line 39: wp_register_style('swstyleops_tablet', get_bloginfo( 'template_directory' ) . '/swstyleops_tablet.css', array(), f
    Line 40: wp_register_style('swstyleops_phone', get_bloginfo( 'template_directory' ) . '/swstyleops_phone.css', array(), fa
    get_bloginfo('template_directory') was found in the file themeoptions.php. Use get_template_directory_uri() instead.
    Line 172: $defaultlogo = get_bloginfo('template_directory').'/images/logo.png';
    get_bloginfo( 'template_directory' ) was found in the file functions.php. Use get_template_directory_uri() instead.
    Line 35: wp_register_style('swstyleops', get_bloginfo( 'template_directory' ) . '/swstyleops.css');wp_enqueue_style(
    Line 36: wp_register_style('swstatstyle', get_bloginfo( 'template_directory' ) . '/swstatstyle.css');wp_enqueue_style
    Line 39: wp_register_style('swstyleops_tablet', get_bloginfo( 'template_directory' ) . '/swstyleops_tablet.css', array(), f
    Line 40: wp_register_style('swstyleops_phone', get_bloginfo( 'template_directory' ) . '/swstyleops_phone.css', array(), fa
  12. Deprecated functions : bloginfo bloginfo('template_directory') was found in the file functionsOld.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 41: wp_register_script( 'fluidimage', get_bloginfo('template_directory').'/fluidimage.js'); wp_enqueue_script('fluidi
    Line 43: wp_register_script( 'swpjs', get_bloginfo('template_directory').'/swp.js'); wp_enqueue_script('swpjs');
    Line 44: wp_register_script( 'tsfbackstretch', get_bloginfo('template_directory').'/backstretch.js'); wp_enqueue_script('tsfba
    Line 45: wp_register_script( 'modernizr', get_bloginfo('template_directory').'/modernizr.js'); wp_enqueue_script('moderni
    Line 76: jQuery.backstretch('<?php bloginfo('template_directory'); ?>/images/<?php echo $swp_fullbgimg; ?>');
    bloginfo('template_directory') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 7: <link rel='shortcut icon' href='<?php bloginfo('template_directory'); ?>/images/favicon.ico' />
    bloginfo('template_directory') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 1: <header role='banner' itemscope itemtype='http://schema.org/WPHeader'><a href='<?php echo home_url(); ?>'><?php $customizerlogo = get_theme_mod( 'tsf_logo_setting', '' ); if ($customizerlogo==''){?><div class='logopos' style='height:75px;width:66px;'><img src='<?php bloginfo('template_directory'); ?>/images/logo.png' alt='<?php bloginfo('na
    bloginfo('template_directory') was found in the file functions.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 41: wp_register_script( 'fluidimage', get_bloginfo('template_directory').'/fluidimage.js'); wp_enqueue_script('fluidi
    Line 43: wp_register_script( 'swpjs', get_bloginfo('template_directory').'/swp.js'); wp_enqueue_script('swpjs');
    Line 44: wp_register_script( 'tsfbackstretch', get_bloginfo('template_directory').'/backstretch.js'); wp_enqueue_script('tsfba
    Line 45: wp_register_script( 'modernizr', get_bloginfo('template_directory').'/modernizr.js'); wp_enqueue_script('moderni
    Line 76: jQuery.backstretch('<?php bloginfo('template_directory'); ?>/images/<?php echo $swp_fullbgimg; ?>');
  13. Deprecated functions : get_option get_option('home') was found in the file mainmenu.php. Use home_url() instead.
    Line 19: var maindropdown = document.getElementById('page_id'); function onPageChange() { if ( maindropdown.options[maindropdown.selectedIndex].value > 0 ) { location.href = '<?php echo get_option('home'); ?>/?page_id='+maindropdown.options[maindropdown.selecte
    get_option('home') was found in the file secondmenu.php. Use home_url() instead.
    Line 17: var seconddropdown = document.getElementById('cat'); function onCatChange() { if ( seconddropdown.options[seconddropdown.selectedIndex].value > 0 ) { location.href = '<?php echo get_option('home'); ?>/?cat='+seconddropdown.options[seconddropdown.selecte
  14. Post pagination : Implementation The theme doesn't have post pagination code in it. Use posts_nav_link() or paginate_links() or the_posts_pagination() or the_posts_navigation() or next_posts_link() and previous_posts_link() to add post pagination.
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in functionsOld.php. Themes must not deregister core scripts.
    Line 33: //wp_deregister_script( 'l10n' );
    Line 37: /*wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', 'https://aj
    Found wp_deregister_script in functions.php. Themes must not deregister core scripts.
    Line 33: //wp_deregister_script( 'l10n' );
    Line 37: /*wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', 'https://aj
  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 'Show or Hide Spotlight Block (Slider)' in file themeoptions.php.
  5. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.
  6. Unwanted files : Windows thumbnail storethumbs.db was found.
  7. Fundamental theme elements : Presence of body_class()Could not find body_class call in body tag.
  8. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  9. Fundamental theme elements : Presence of post_class()Could not find post_class.
  10. CSS files : Presence of license typeLicense: is missing from style.css header.
  11. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  12. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  13. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  14. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  15. 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.
  16. Screenshot : Screenshot fileScreenshot size is 300x225px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file footertwo.php.
    Line 2: <div class='footertworight'><?php if ( !dynamic_sidebar('sidebar-4') ) : ?><div style='text-align:right;'>Theme created with <a href='http://www.planetstarta.com' target='_blank'>ThemeStarta&#8482;</a>.</div><
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.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 archive template file archive.phpThis theme does not contain optional file archive.php.
  9. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.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. Optional files : Presence of 404 Not Found template file 404.phpThis theme does not contain optional file 404.php.
  13. Use of includes : Use of include or requireThe theme appears to use include or require : functionsOld.php
    Line 5: include(THISPATH.'/tsflib/tsfunctions.php');
    Line 12: require_once( $locale_file );
    Line 28: include(THISPATH.'/customtsfunctions.php');
    Line 29: include(THISPATH.'/widgetlocations.php');
    Line 30: include(THISPATH.'/themeoptions.php');
    Line 125: include(THISPATH.'/menulocations.php');
    Line 127: include(THISPATH.'/customposttypes.php');
    Line 542: require( $include );
    Line 544: require( TEMPLATEPATH .  $file );
    Line 546: require( ABSPATH . WPINC . '/theme-compat/comments.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 : tsfunctions.php
    Line 4: require(THISPATH.'/'.$file.'.php' );
    Line 8: require(THISPATH.'/tsflib/blocks/'.$block.'.php' );
    Line 17: require(THISPATH.'/tsflib/divs/'.$themediv );		
    Line 26: require(THISPATH.'/contentlayer_wp/pieces/'.$themepiece );
    Line 35: require(THISPATH.'/contentlayer_wp/'.$themecontent );
    Line 47: require(THISPATH.'/contentlayer_wp/'.$themecontent );
    Line 53: require(THISPATH.'/custom/'.$file.'.php' );
    Line 55: require(THISPATH.'/'.$file.'.php' );
    Line 61: require(THISPATH.'/custom/tsflib/blocks/'.$block.'.php' );
    Line 63: require(THISPATH.'/tsflib/blocks/'.$block.'.php' );
    Line 74: require(THISPATH.'/custom/tsflib/divs/'.$themediv );
    Line 76: require(THISPATH.'/tsflib/divs/'.$themediv );
    Line 87: require(THISPATH.'/custom/contentlayer_wp/pieces/'.$themepiece );
    Line 89: require(THISPATH.'/contentlayer_wp/pieces/'.$themepiece );
    Line 100: require(THISPATH.'/custom/contentlayer_wp/'.$themecontent );
    Line 102: require(THISPATH.'/contentlayer_wp/'.$themecontent );
    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