0
Validation results

MafiaShare.net - Newspaper (shared on mafiashare.com)

MafiaShare.net - Newspaper (shared on mafiashare.com)

WordPress 4.8.2 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.
    Ligne4: load_theme_textdomain( 'themejunkie', TEMPLATEPATH . '/lang' );	
    Ligne6: require_once(TEMPLATEPATH . '/includes/sidebar-init.php');
    Ligne7: require_once(TEMPLATEPATH . '/includes/custom-functions.php'); 
    Ligne8: require_once(TEMPLATEPATH . '/includes/post-thumbnails.php'); 
    Ligne10: require_once(TEMPLATEPATH . '/includes/theme-options.php');
    Ligne11: // require_once(TEMPLATEPATH . '/includes/theme-comments.php');
    Ligne12: require_once(TEMPLATEPATH . '/includes/theme-widgets.php');
    Ligne14: require_once(TEMPLATEPATH . '/functions/theme_functions.php'); 
    Ligne15: require_once(TEMPLATEPATH . '/functions/admin_functions.php');
  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_directory') was found in the file header.php. Use get_template_directory_uri() instead.
    Ligne84: <a href='<?php bloginfo('url'); ?>'><?php $logo = (get_option('newspaper_logo') <> '') ? get_option('newspaper_logo') : get_bloginfo('template_directory').'/images/logo.png'; ?><img src='<?php ec
    get_bloginfo('template_directory') was found in the file theme-options.php. Use get_template_directory_uri() instead.
    Ligne56: 'std' => get_bloginfo('template_directory') . '/images/logo.png',
    Ligne69: 'std' => get_bloginfo('template_directory') . '/images/favicon.png',
    Ligne296: 'std' => get_bloginfo('template_directory') . '/images/cameron.png',
    Ligne314: 'std' => get_bloginfo('template_directory') . '/images/obama.png',
    get_bloginfo('url') was found in the file custom-functions.php. Use home_url() instead.
    Ligne225: $url = sprintf('%s?p=%s', get_bloginfo('url').'/', $id);
    get_bloginfo('template_url') was found in the file custom-functions.php. Use get_template_directory_uri() instead.
    Ligne24: wp_enqueue_script('jquery', get_bloginfo('template_url').'/includes/js/jquery.min.js', false, '1.4.2');
    Ligne25: wp_enqueue_script('jquery-superfish', get_bloginfo('template_url').'/includes/js/superfish.js', false, '1.4.2');
    Ligne26: wp_enqueue_script('jquery-tabber', get_bloginfo('template_url').'/includes/js/tabber.js', false, '1.4.2');	
    Ligne27: wp_enqueue_script('jquery-custom', get_bloginfo('template_url').'/includes/js/custom.js', false, '1.4.2');				
    get_bloginfo('template_directory') was found in the file admin_functions.php. Use get_template_directory_uri() instead.
    Ligne20: $admincp_jsfolder = get_bloginfo('template_directory') . '/functions/js';
    Ligne26: 'clearpath' => get_bloginfo('template_directory') . '/functions/images/empty.png',
    Ligne378: wp_register_script('my-upload', get_bloginfo('template_directory').'/functions/js/custom_uploader.js', arra
  5. Deprecated functions : bloginfo bloginfo('url') was found in the file header.php. Use echo esc_url( home_url() ) instead.
    Ligne51: <form method='get' id='searchform' action='<?php bloginfo('url'); ?>'>
    Ligne78: <h1 id='site-title'><a href='<?php bloginfo('url'); ?>'><?php bloginfo('name'); ?></a></h1>
    Ligne84: <a href='<?php bloginfo('url'); ?>'><?php $logo = (get_option('newspaper_logo') <> '') ? g
    Ligne127: <li class='home-list'><a href='<?php bloginfo('url'); ?>' class='home <?php if(is_home()) echo('first'); ?>'><?p
    bloginfo('template_directory') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne53: <input id='searchsubmit' type='image' src='<?php bloginfo('template_directory'); ?>/images/ico-search.gif' value='Go' />
    Ligne84: <a href='<?php bloginfo('url'); ?>'><?php $logo = (get_option('newspaper_logo') <> '') ? get_option('newspaper_logo') : get_bloginfo('template_directory').'/images/logo.png'; ?><img src='<?php echo $
    bloginfo( 'template_url' ) was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne15: <link rel='stylesheet' type='text/css' href='<?php bloginfo( 'template_url' ); ?>/styles/<?php echo get_option('newspaper_them
    Ligne16: <link rel='stylesheet' type='text/css' href='<?php bloginfo( 'template_url' ); ?>/custom.css' />
    bloginfo('url') was found in the file widget-ad125.php. Use echo esc_url( home_url() ) instead.
    Ligne55: <a href='<?php echo $bannerUrl[$i] ?>' <?php if ($new_window == 1) echo('target='_blank'') ?>><img src='<?php if ($use_relpath == 1) bloginfo('url'); else echo $bannerPath[$i]; ?><?php if ($use_relpath == 1 )
    bloginfo('url') was found in the file breadcrumbs.php. Use echo esc_url( home_url() ) instead.
    Ligne5: <a href='<?php bloginfo('url'); ?>'><?php _e('Home','themejunkie') ?></a> 
    bloginfo('url') was found in the file searchform.php. Use echo esc_url( home_url() ) instead.
    Ligne1: <form method='get' id='searchform' action='<?php bloginfo('url'); ?>'>
    bloginfo('url') was found in the file footer.php. Use echo esc_url( home_url() ) instead.
    Ligne10: <li><a href='<?php bloginfo('url'); ?>'><?php _e('Home', 'themejunkie') ?></a></li>        
    Ligne19: &copy; <?php echo date('Y'); ?> <a href='<?php bloginfo('url'); ?>' title='<?php bloginfo( 'description' ); ?>' rel='home'
    bloginfo('template_directory') was found in the file admin_functions.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne20: $admincp_jsfolder = get_bloginfo('template_directory') . '/functions/js';
    Ligne26: 'clearpath' => get_bloginfo('template_directory') . '/functions/images/empty.png',
    Ligne37: <link rel='stylesheet' href='<?php bloginfo('template_directory') ?>/functions/css/admin-style.css' type='text
    Ligne39: .lightboxclose { background: url('<?php bloginfo('template_directory') ?>/functions/images/description-close.png') 
    Ligne95: <li><a href='#nav-general'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-general.png' class='
    Ligne98: <li><a href='#nav-navigation'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-navigation.png' clas
    Ligne101: <li><a href='#nav-layout'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-layout.png' class='p
    Ligne104: <li><a href='#nav-advertisements'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-ad.png' class='pngfi
    Ligne108: <li><a href='#nav-seo'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-seo.png' class='pngf
    Ligne111: <li><a href='#nav-integration'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-integration.png' cla
    Ligne114: <li><a href='#nav-doc'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-doc.png' class='pngf
    Ligne123: <img src='<?php bloginfo('template_directory') ?>/functions/images/help.png' alt='descripti
    Ligne213: <img src='<?php bloginfo('template_directory') ?>/functions/images/help.png' alt='descripti
    Ligne273: <img src='<?php bloginfo('template_directory') ?>/functions/images/reset.png' class='defaul
    Ligne288: <img src='<?php bloginfo('template_directory') ?>/functions/images/no.png' class='no' alt='
    Ligne296: <img src='<?php bloginfo('template_directory') ?>/functions/images/loading.gif' alt='loadin
    Ligne378: wp_register_script('my-upload', get_bloginfo('template_directory').'/functions/js/custom_uploader.js', array('j
    bloginfo('url') was found in the file theme_functions.php. Use echo esc_url( home_url() ) instead.
    Ligne96: <li <?php if (is_front_page() || is_home()) echo('class='current_page_item'') ?>><a href='<?php bloginfo('url'); ?>'><?php _e('Home',$themename); ?></a></li>
    Ligne292: if (is_home() && get_option($shortname.'_seo_home_canonical') == 'on') echo '<link rel='canonical' href=''.get_bloginfo('url').'' />';
    bloginfo('template_directory') was found in the file theme_functions.php. Use echo esc_url( get_template_directory_uri() ) instead.
    Ligne138: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/style-<?php echo(get_option($shortname.'
    bloginfo('url') was found in the file 404.php. Use echo esc_url( home_url() ) instead.
    Ligne6: <a href='<?php bloginfo('url'); ?>'><?php _e('Home','themejunkie') ?></a> <span class='raq
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in custom-functions.php. Themes must not deregister core scripts.
    Ligne21: wp_deregister_script( 'jquery' );
    Found wp_deregister_script in admin_functions.php. Themes must not deregister core scripts.
    Ligne12: wp_deregister_script('jquery');
  2. theme tags : Presence of bad theme tagsFound wrong tag advertise-ready in style.css header.Found wrong tag widget-ready in style.css header.Found wrong tag advanced-theme-options 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 mafiashare-net-newspaper-shared-on-mafiashare-com.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Display an Ajax tabber with Popular Posts, Latest Posts, Recent Comments and Tags.' in file widget-tabs.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'ThemeJunkie - Tabs' in file widget-tabs.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Number of popular posts to show::' in file widget-tabs.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Number of latest posts to show:' in file widget-tabs.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Number of recent comments to show:' in file widget-tabs.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Avatar size: e.g. 42' in file widget-tabs.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'FeedBurner Email Subscription' in file widget-feedburner.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'ThemeJunkie - FeedBurner' in file widget-feedburner.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Enter your Feedburner ID:' in file widget-feedburner.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Primary Nav' in file custom-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Secondary Nav' in file custom-functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Home' in file theme_functions.php.
  5. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file changelog.txt.
  6. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  7. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  8. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  9. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  10. Deprecated functions : _preview_theme_template_filter_preview_theme_template_filter found in file theme-widgets.php. Deprecated since version 4.3.
    Ligne7: $preview_template = _preview_theme_template_filter();
  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. I18N implementation : Proper use of _e(Possible variable $themename found in translation function in theme_functions.php. Translation function calls should not contain PHP variables.
  13. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  14. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  15. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  16. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  17. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  18. 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.
  19. CSS files : Presence of Author URICould not find Author URI.
  20. Date and time implementation : Use of the_time()At least one hard coded date was found in the file breadcrumbs.php. Function get_option( 'date_format' ) should be used instead.
  21. 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. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  2. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  3. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  4. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  5. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  6. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  7. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  8. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  9. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  10. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : archive.php
    Ligne5: <?php include(TEMPLATEPATH. '/includes/templates/breadcrumbs.php');
    Ligne11: include(TEMPLATEPATH. '/includes/templates/loop.php');
    Ligne16: include(TEMPLATEPATH. '/includes/templates/not-found.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 : theme-widgets.php
    Ligne20: include_once($tj_widgets_dir . $tj_widgets_file);
    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 : index.php
    Ligne13: <?php include(TEMPLATEPATH. '/includes/templates/home-featured-loop1.php'); ?>
    Ligne40: include(TEMPLATEPATH. '/includes/templates/home-column1-loop1.php'); 
    Ligne42: include(TEMPLATEPATH. '/includes/templates/home-column1-loop2.php'); 
    Ligne50: if ($catcount == 1) { include(TEMPLATEPATH. '/includes/templates/home-column1-ad.php'); }
    Ligne74: include(TEMPLATEPATH. '/includes/templates/home-featured-loop2.php'); 
    Ligne77: include(TEMPLATEPATH. '/includes/templates/home-featured-loop3.php'); 
    Ligne87: <?php include_once('home-sidebar.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 : search.php
    Ligne5: <?php include(TEMPLATEPATH. '/includes/templates/breadcrumbs.php');
    Ligne11: include(TEMPLATEPATH. '/includes/templates/loop.php');
    Ligne15: include(TEMPLATEPATH. '/includes/templates/not-found.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
    Ligne5: <?php include(TEMPLATEPATH. '/includes/templates/breadcrumbs.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 : admin_functions.php
    Ligne233: <?php include(TEMPLATEPATH . '/includes/docs/'.$value['name'].'.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