0
Validation results

H2PORN Theme Responsive 2.0

H2PORN Theme Responsive 2.0

WordPress 4.9.8 theme
0
  • THEME TYPEWordPress theme 4.9.8
  • FILE NAMEh2porn.zip
  • FILE SIZE397778 bytes
  • MD5ede637c868ab24e13f090fda0852adf0
  • SHA14324a5248f8f813a6ec28a9c4151eeec73f612b0
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • THEME URIhttp://xwpthemes.com
  • VERSION4.2.0
  • AUTHOR URI
  • TAGSXvideos, Pornhub, Tube,black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, responsive
  • CREATION DATE2017-03-06
  • LAST FILE UPDATE2017-03-06
  • LAST VALIDATION2017-03-06 21:04
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. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  3. Deprecated functions : get_bloginfo get_bloginfo('template_url') was found in the file header.php. Use get_template_directory_uri() instead.
    Line 47: <?php $favicon_link = get_option(THEME_PREFIX.'favicon'); if ( !$favicon_link ) $favicon_link = get_bloginfo('template_url') . '/images/favicon.ico'; ?>
    get_bloginfo('template_url') was found in the file functions.php. Use get_template_directory_uri() instead.
    Line 19: define('THEME', get_bloginfo('template_url'), true);
    Line 61: $thumb=get_option(THEME_PREFIX . 'logo');} else  {$thumb=get_bloginfo('template_url').'/images/phimhdjav.jpg';}
    Line 193: echo '<link rel='stylesheet' href=''.get_bloginfo('template_url').'/functions.css' type='text/css' media='all' /
    Line 196: echo '<link rel='stylesheet' href=''.get_bloginfo('template_url').'/scripts/accordion/style.css' type='text/css'
    Line 197: echo '<script src=''.get_bloginfo('template_url').'/scripts/accordion/jquery.ui.js' type='text/j
    Line 198: echo '<script src=''.get_bloginfo('template_url').'/scripts/accordion/jquery.accordion.js' type=
  4. Deprecated functions : bloginfo bloginfo('url') was found in the file header.php. Use echo esc_url( home_url() ) instead.
    Line 66: <a href='<?php bloginfo('url') ?>' title='<?php bloginfo('title') ?>'>
    Line 83: <form method='get' action='<?php bloginfo('url'); ?>/' id='search_form'>
    bloginfo('template_directory') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 43: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/css/media.css' />
    Line 44: <link href='<?php bloginfo('template_directory'); ?>/css/superfish.css' rel='stylesheet' type
    Line 52: <script src='<?php bloginfo('template_directory'); ?>/js/superfish.js' type='text/javascript'>
    Line 53: <script src='<?php bloginfo('template_directory'); ?>/js/thumb.js' type='text/javascript'></sc
    Line 54: <script src='<?php bloginfo('template_directory'); ?>/js/jquery.min.js'></script>
    Line 55: <script src='<?php bloginfo('template_directory'); ?>/js/jquery.resmenu.min.js'></script>
    Line 56: <script src='<?php bloginfo('template_directory'); ?>/js/custom.js'></script>
    Line 72: <img src='<?php bloginfo('template_directory'); ?>/images/logo.png' alt='<?=bloginfo( 'name
    bloginfo('template_url') was found in the file recent-news.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Line 36: <img src='<?php bloginfo('template_url') ?>/images/pic_sidebarimg1.jpg' width='110' height=
Warning
  1. special URIs : Presence of bad theme tagsTheme URI and Author URI should not be the same.
  2. theme tags : Presence of bad theme tagsFound wrong tag Xvideos in style.css header.Found wrong tag Pornhub in style.css header.Found wrong tag Tube in style.css header.The tag black has been deprecated, it must be removed from style.css header.The tag brown has been deprecated, it must be removed from style.css header.The tag orange has been deprecated, it must be removed from style.css header.The tag tan 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.The tag yellow has been deprecated, it must be removed from style.css header.The tag light has been deprecated, it must be removed from style.css header.The tag flexible-width has been deprecated, it must be removed from style.css header.Found wrong tag responsive 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 h2porn-theme-responsive-2-0.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Page %s' in file header.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Page %s' in file header.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Top Menu' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Foot Menu' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Home Sidebar Section' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Sidebar Section' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Above Content Section in Single Page and Home Page' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Below Content Section Single Page and Home Page' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Above Category & Relative Videos list' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Above Category & Relative Videos list' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'ago' in file functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Title:' in file recent-news.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'No of Posts:' in file recent-news.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Excerpt length:' in file recent-news.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Show comment:' in file recent-news.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Show excerpt:' in file recent-news.php.Found a translation function that is missing a text-domain. Function _e, with the arguments "Enable Menu Management" in file generals.php.Found a translation function that is missing a text-domain. Function _e, with the arguments "Enable Menu Management" in file custom-menus.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Leave a Reply' in file comments.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Leave a Reply to %s' in file comments.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Cancel Reply' in file comments.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Add Comment' in file comments.php.Found a translation function that is missing a text-domain. Function __, with the arguments "View all posts in %s" in file page_categories.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 twentyten, themater.
  5. PHP short tags : Presence of PHP short tagsPHP 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.
    Line 30: <meta property='og:image' content='<?=get_thumb_image();?>' />
    Line 31: <meta property='og:site_name' content='<?=bloginfo( 'name' );?>' />
    Line 32: <meta property='og:description' content='<?=$site_description?>' />
    Line 34: <meta name='twitter:description' content='<?=$site_description?>' />
    Line 64: <h1 class='hidden'><?=bloginfo( 'name' ).' - '.get_bloginfo( 'description', 'display' );?></h1
    Line 70: <img src='<?php  echo ($logo = get_option(THEME_PREFIX . 'logo'))?>' alt='<?=bloginfo( 'name' ).' - '.get_bloginfo( 'description', 'display' );?>'  i
    Line 72: <img src='<?php bloginfo('template_directory'); ?>/images/logo.png' alt='<?=bloginfo( 'name' ).' - '.get_bloginfo( 'description', 'display' );?>'>
    PHP short tags were found in file archive.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 63: <a href='<?php the_permalink() ?>' class='kt_imgrc' title='<?php the_title_attribute(); ?>' id='video_<?=get_the_ID();?>'>
    Line 65: <img src='<?php echo $thumb; ?>' id='pic_<?=get_the_ID();?>' height='180' width='240' <? if (strpos($thumb,'xvideos.
    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.
    Line 34: <a href='<?php the_permalink() ?>' class='kt_imgrc' title='<?php the_title_attribute(); ?>' id='video_<?=get_the_ID();?>'>
    Line 36: <img src='<?php echo $thumb; ?>' id='pic_<?=get_the_ID();?>' <? if (strpos($thumb,'xvideos.com')) { $thumbbaseurl=ex
    Line 102: <a href='<?php the_permalink() ?>' class='kt_imgrc' title='<?php the_title_attribute(); ?>' id='video_<?=get_the_ID();?>'>
    Line 104: <img src='<?php echo $thumb; ?>' id='pic_<?=get_the_ID();?>' <? if (strpos($thumb,'xvideos.com')) { $thumbbaseurl=ex
    PHP short tags were found in file search.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 48: <a href='<?php the_permalink() ?>' class='kt_imgrc' title='<?php the_title_attribute(); ?>' id='video_<?=get_the_ID();?>'>
    Line 50: <img src='<?php echo $thumb; ?>' id='pic_<?=get_the_ID();?>' height='180' width='240' <? if (strpos($thumb,'xvideos.
    PHP short tags were found in file page.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 31: <a href='<?php the_permalink() ?>' class='kt_imgrc' title='<?php the_title_attribute(); ?>' id='video_<?=get_the_ID();?>'>
    Line 33: <img src='<?php echo $thumb; ?>' id='pic_<?=get_the_ID();?>' height='180' width='240' <? if (strpos($thumb,'xvideos.
    PHP short tags were found in file footer-code.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 43: <p><?=bloginfo( 'name' ).' - '.get_bloginfo( 'description', 'display' );?></p>
    PHP short tags were found in file single.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 31: <a href='<?php the_permalink() ?>' class='kt_imgrc' title='<?php the_title_attribute(); ?>' id='video_<?=get_the_ID();?>'>
    Line 33: <img src='<?php echo $thumb; ?>' id='pic_<?=get_the_ID();?>' height='180' width='240' <? if (strpos($thumb,'xvideos.
    Line 164: <a href='<?php the_permalink() ?>' class='kt_imgrc' title='<?php the_title_attribute(); ?>' id='video_<?=get_the_ID();?>'>
    Line 166: <img src='<?php echo $thumb; ?>' id='pic_<?=get_the_ID();?>' height='180' width='240' <? if (strpos($thumb,'xvideos.
    PHP short tags were found in file 404.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 34: <a href='<?php the_permalink() ?>' class='kt_imgrc' title='<?php the_title_attribute(); ?>' id='video_<?=get_the_ID();?>'>
    Line 36: <img src='<?php echo $thumb; ?>' id='pic_<?=get_the_ID();?>' height='180' width='240' <? if (strpos($thumb,'xvideos.
    Line 102: <a href='<?php the_permalink() ?>' class='kt_imgrc' title='<?php the_title_attribute(); ?>' id='video_<?=get_the_ID();?>'>
    Line 104: <img src='<?php echo $thumb; ?>' id='pic_<?=get_the_ID();?>' height='180' width='240' <? if (strpos($thumb,'xvideos.
  6. Admin menu : Detection of user levels deprecated in WordPress 2.0. See Wordpress codex.File functions.php :
    Line 96: $page = add_theme_page( 'Pro WP-H2Porn Wordpress Options', 'WP-H2Porn Theme Options
  7. Fundamental theme elements : Presence of language_attributes()Could not find .
  8. Fundamental theme elements : Presence of comments_template()Could not find comments_template.
  9. Fundamental theme elements : Presence of body_class()Could not find body_class call in body tag.
  10. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  11. Fundamental theme elements : Presence of post_class()Could not find post_class.
  12. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  13. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  14. 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.
  15. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  16. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  17. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  18. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  19. CSS files : Presence of .alignleft class.alignleft css class is needed in theme css.
  20. CSS files : Presence of .alignright class.alignright css class is needed in theme css.
  21. CSS files : Presence of .aligncenter class.aligncenter css class is needed in theme css.
  22. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  23. CSS files : Presence of .wp-caption-text class.wp-caption-text css class is needed in theme css.
  24. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  25. 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.
  26. 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.
  27. 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.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 legal.php.
    Line 2: | <a href='http://www.onlinetv.net/' target='_blank'>Online TV</a></p>
  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 : footer.php
    Line 2: <?php include(TEMPLATEPATH.'/options/footer-code.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