0
Validation results

DISTRAP

DISTRAP

WordPress 5.2.3 theme
0
  • THEME TYPEWordPress theme 5.2.3
  • FILE NAMEdistrap.zip
  • FILE SIZE1108459 bytes
  • MD5dddbda2f411d892d1967513de70aeb3f
  • SHA1be7e3ee69c18940cade478fb73596a93f605195e
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • THEME URIhttp://perhubungan.ponorogo.go.id
  • VERSION1.0
  • AUTHOR URI
  • TAGSGoverment, Indonesia
  • CREATION DATE2019-09-09
  • LAST FILE UPDATE2019-09-09
  • LAST VALIDATION2019-09-09 13:05
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. Unwanted files : PHP error log error_log was found.
  3. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3952.5337425440202!2d111.48002831477852!3d-7.839068694351615!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2e79a1e724936e79%3A0xa63f00d60ba1f7ea!2sDinas+Perhubungan+Ponorogo!5e0!3m2!1sid!2sid!4v1460004040708" width="520" height="200" frameborder="0" style="border:0" allowfullscreen> in file footer.php. 33: <iframe src='https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3952.533Found <iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=<?php the_permalink(); ?> in file single.php. 28: <iframe src='http://www.facebook.com/plugins/like.php?locale=en_US&amp;href
  4. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file functions.php. get_template_directory() should be used instead. 4: load_theme_textdomain( 'hiresponsive', TEMPLATEPATH . '/lang' ); 6: require_once(TEMPLATEPATH . '/includes/sidebar-init.php');7: require_once(TEMPLATEPATH . '/includes/custom-functions.php'); 8: require_once(TEMPLATEPATH . '/includes/post-thumbnails.php'); 10: require_once(TEMPLATEPATH . '/includes/theme-options.php');11: require_once(TEMPLATEPATH . '/includes/theme-comments.php'); 12: require_once(TEMPLATEPATH . '/includes/theme-widgets.php');14: require_once(TEMPLATEPATH . '/functions/theme_functions.php'); 15: require_once(TEMPLATEPATH . '/functions/admin_functions.php');
  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_bloginfo get_bloginfo('template_directory') was found in the file admin_functions.php. Use get_template_directory_uri() instead.20: $admincp_jsfolder = get_bloginfo('template_directory') . '/functions/js';26: 'clearpath' => get_bloginfo('template_directory') . '/functions/images/empty.png',378: wp_register_script('my-upload', get_bloginfo('template_directory').'/functions/js/custom_uploader.js', arraget_bloginfo('template_directory') was found in the file header.php. Use get_template_directory_uri() instead.32: <a href='<?php bloginfo('url'); ?>' title='<?php bloginfo('name'); ?>'><?php $logo = (get_option('hires_logo') <> '') ? get_option('hires_logo') : get_bloginfo('template_directory').'/images/logo.png'; ?><img src='<?php ecget_bloginfo('template_url') was found in the file custom-functions.php. Use get_template_directory_uri() instead.27: wp_enqueue_script('jquery', get_bloginfo('template_url').'/js/jquery.min.js', false, '1.11.0');28: wp_enqueue_script('jquery-bootstrap', get_bloginfo('template_url').'/js/bootstrap.min.js', false, '1.4.2');29: wp_enqueue_script('jquery-scrolltop', get_bloginfo('template_url').'/js/scrolltop.js', true, '1.0');30: wp_enqueue_script('jquery-responsiveslides', get_bloginfo('template_url').'/js/jquery.flexslider.js', true, '1.0');31: wp_enqueue_script('jquery-custom', get_bloginfo('template_url').'/js/custom.js', true, '1.0');get_bloginfo('template_directory') was found in the file theme-options.php. Use get_template_directory_uri() instead.45: 'std' => get_bloginfo('template_directory') . '/images/logo.png',58: 'std' => get_bloginfo('template_directory') . '/images/favicon.png',
  7. Deprecated functions : bloginfo bloginfo('url') was found in the file theme_functions.php. Use echo esc_url( home_url() ) instead.96: <li <?php if (is_front_page() || is_home()) echo('class='current_page_item'') ?>><a href='<?php bloginfo('url'); ?>'><?php _e('Home',$themename); ?></a></li>292: 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.138: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/style-<?php echo(get_option($shortname.'bloginfo('template_directory') was found in the file admin_functions.php. Use echo esc_url( get_template_directory_uri() ) instead.20: $admincp_jsfolder = get_bloginfo('template_directory') . '/functions/js';26: 'clearpath' => get_bloginfo('template_directory') . '/functions/images/empty.png',37: <link rel='stylesheet' href='<?php bloginfo('template_directory') ?>/functions/css/admin-style.css' type='text39: .lightboxclose { background: url('<?php bloginfo('template_directory') ?>/functions/images/description-close.png') 95: <li><a href='#nav-general'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-general.png' class='98: <li><a href='#nav-navigation'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-navigation.png' clas101: <li><a href='#nav-layout'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-layout.png' class='p104: <li><a href='#nav-advertisements'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-ad.png' class='pngfi108: <li><a href='#nav-seo'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-seo.png' class='pngf111: <li><a href='#nav-integration'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-integration.png' cla114: <li><a href='#nav-doc'><img src='<?php bloginfo('template_directory') ?>/functions/images/ico-doc.png' class='pngf123: <img src='<?php bloginfo('template_directory') ?>/functions/images/help.png' alt='descripti213: <img src='<?php bloginfo('template_directory') ?>/functions/images/help.png' alt='descripti273: <img src='<?php bloginfo('template_directory') ?>/functions/images/reset.png' class='defaul288: <img src='<?php bloginfo('template_directory') ?>/functions/images/no.png' class='no' alt='296: <img src='<?php bloginfo('template_directory') ?>/functions/images/loading.gif' alt='loadin378: wp_register_script('my-upload', get_bloginfo('template_directory').'/functions/js/custom_uploader.js', array('jbloginfo('url') was found in the file header.php. Use echo esc_url( home_url() ) instead.32: <a href='<?php bloginfo('url'); ?>' title='<?php bloginfo('name'); ?>'><?php $logo = (get_bloginfo('template_directory') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.32: <a href='<?php bloginfo('url'); ?>' title='<?php bloginfo('name'); ?>'><?php $logo = (get_option('hires_logo') <> '') ? get_option('hires_logo') : get_bloginfo('template_directory').'/images/logo.png'; ?><img src='<?php echo $77: <input class='submit btn' type='image' src='<?php bloginfo('template_directory'); ?>/images/btn-search.png' alt='search'/>bloginfo( 'template_url' ) was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.15: <link href='<?php bloginfo( 'template_url' ); ?>/css/bootstrap.min.css' rel='stylesheet' type16: <link href='<?php bloginfo( 'template_url' ); ?>/css/font-awesome.min.css' rel='stylesheet' t18: <link href='<?php bloginfo( 'template_url' ); ?>/custom.css' rel='stylesheet' type='text/css'19: <link href='<?php bloginfo( 'template_url' ); ?>/css/responsiveslides.css' rel='stylesheet' t60: <div class='visible-xs'><a href='<?php echo home_url(); ?>' title='<?php bloginfo('name'); ?>'><img alt='<?php bloginfo('name'); ?>' src='<?php bloginfo( 'template_url' ); ?>/images/logo-mobile.png'></a></div>bloginfo('url') was found in the file searchform.php. Use echo esc_url( home_url() ) instead.1: <form method='get' id='searchform' action='<?php bloginfo('url'); ?>'>bloginfo('template_directory') was found in the file extlink.php. Use echo esc_url( get_template_directory_uri() ) instead.3: <li><a href='http://www.dephub.go.id' target='_blank'><img src='<?php bloginfo('template_directory');?>/images/extlink/dephub.png' alt='Departeme4: <li><a href='http://dishubllaj.jatimprov.go.id' target='_blank'><img src='<?php bloginfo('template_directory');?>/images/extlink/dishubllajjatim.png' alt='5: <li><a href='http://www.ponorogo.go.id' target='_blank'><img src='<?php bloginfo('template_directory');?>/images/extlink/pemkabpo.png' alt='Pemkab 6: <li><a href='http://www.lapor.go.id' target='_blank'><img src='<?php bloginfo('template_directory');?>/images/extlink/lapor.png' alt='Lapor'/></
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in admin_functions.php. Themes must not deregister core scripts. 12: wp_deregister_script('jquery');Found wp_deregister_script in custom-functions.php. Themes must not deregister core scripts. 26: wp_deregister_script( 'jquery' );
  2. theme tags : Presence of bad theme tagsFound wrong tag Goverment in style.css header.Found wrong tag Indonesia 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 'Home' in file theme_functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Top Menu' in file custom-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Header Menu' in file custom-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Sidebar Menu' in file custom-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Bottom Menu' in file custom-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Display your social profiles' in file widget-social.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'HR - Social Profiles' in file widget-social.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Enter your Google ID:' in file widget-social.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Enter your Feedburner ID:' in file widget-social.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Enter your Twitter ID:' in file widget-social.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Enter your Facebook ID:' in file widget-social.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Display your tweets from Twitter" in file widget-twitter.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'HR - Twitter' in file widget-twitter.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Twitter Updates' in file widget-twitter.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Error: Please make sure the Twitter account is <a href='http://help.twitter.com/forums/10711/entries/14016'>public</a>." in file widget-twitter.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Error: Twitter did not respond. Please wait a few minutes and refresh this page." in file widget-twitter.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Title:' in file widget-twitter.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Twitter username:' in file widget-twitter.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Maximum number of tweets to show:' in file widget-twitter.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Hide replies' in file widget-twitter.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Text to display between tweet and timestamp:' in file widget-twitter.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<div class="entry-tags"><span class="btn-share"><strong>Tags:</strong></span>&nbsp;' in file single.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 hiresponsive, themejunkie, woothemes.
  4. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  5. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  6. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  7. Deprecated functions : _preview_theme_template_filter_preview_theme_template_filter found in file theme-widgets.php. Deprecated since version 4.3.7: $preview_template = _preview_theme_template_filter();
  8. 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.
  9. 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.
  10. CSS files : Presence of theme descriptionDescription is missing from style.css header.
  11. CSS files : Presence of license typeLicense: is missing from style.css header.
  12. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  13. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  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. Date and time implementation : Use of the_time()At least one hard coded date was found in the file home-latest.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file custom-functions.php. Function get_option( 'date_format' ) should be used instead.
  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.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.8: <li><a href='http://perhubungan.ponorogo.go.id/bidang/sekretariat/'>Sekretariat</a></li>9: <li><a href='http://perhubungan.ponorogo.go.id/bidang/lalu-lintas/'>Lalu Lintas</a></li>10: <li><a href='http://perhubungan.ponorogo.go.id/bidang/angkutan/'>Angkutan</a></li>11: <li><a href='http://perhubungan.ponorogo.go.id/bidang/sarana-prasarana/'>Sarana Prasaran12: <li><a href='http://perhubungan.ponorogo.go.id/bidang/UPT/'>UPT</a></li>18: <li><span class='fa fa-facebook'></span><a href='https://www.facebook.com/dishubpo'>Facebook</a></li>19: <li><span class='fa fa-twitter'></span><a href='https://www.twitter.com/dishubpo'>Twitter</a></li>20: <li><span class='fa fa-instagram'></span><a href='https://www.instagram.com/dishubpo'>Instagram</a></li>21: <li><span class='fa fa-youtube'></span><a href='https://www.youtube.com/dishubpo'>Youtube</a></li>Possible hard-coded links were found in the file extlink.php.3: <li><a href='http://www.dephub.go.id' target='_blank'><img src='<?php bloginfo('template4: <li><a href='http://dishubllaj.jatimprov.go.id' target='_blank'><img src='<?php bloginfo5: <li><a href='http://www.ponorogo.go.id' target='_blank'><img src='<?php bloginfo('templa6: <li><a href='http://www.lapor.go.id' target='_blank'><img src='<?php bloginfo('template_Possible hard-coded links were found in the file widget-flickr.php.46: <label for='<?php echo $this->get_field_id('id'); ?>'><?php _e('Flickr ID (<a href='http://www.idgettr.com'>idGettr</a>):','woothemes'); ?></label>Possible hard-coded links were found in the file widget-author.php.61: <label for='<?php echo $this->get_field_id('custom_email'); ?>'><?php _e('<a href='http://www.gravatar.com/'>Gravatar</a> E-mail:','hiresponsive'); ?></label>
  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 search results template file search.phpThis theme does not contain optional file search.php.
  11. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  12. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  13. Use of includes : Use of include or requireThe theme appears to use include or require : template-archives.php 9: <?php include(TEMPLATEPATH. '/includes/templates/sidebar-left.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 233: <?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.The theme appears to use include or require : homepage.php 21: <?php if(get_option('hires_twocol_news_enable') == 'on') include(TEMPLATEPATH. '/includes/templates/home-twocol.php'); ?>22: <?php include(TEMPLATEPATH. '/includes/sig.php'); ?>24: <?php include(TEMPLATEPATH. '/includes/templates/sidebar-left.php')?>27: <?php include(TEMPLATEPATH. '/includes/templates/home-sidebar-right.php'); ?>29: <?php include(TEMPLATEPATH. '/includes/extlink.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 : archive.php 6: include(TEMPLATEPATH. '/includes/templates/heading.php');13: include(TEMPLATEPATH. '/includes/templates/post-loop.php');18: include(TEMPLATEPATH. '/includes/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 : template-links.php 9: <?php include(TEMPLATEPATH. '/includes/templates/sidebar-left.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 : index.php 3: include(TEMPLATEPATH. '/homepage.php');5: include(TEMPLATEPATH. '/archive.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 : home-onecol.php 27: include(TEMPLATEPATH. '/includes/templates/onecol-loop.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 : custom-functions.php 5: require_once('wp_bootstrap_navwalker.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 20: include_once($hr_widgets_dir . $hr_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 : widget-twitter.php 10: include_once( dirname( __FILE__ ) . '/class.json.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