0
Validation results

Mobile Theme by DMG

Mobile Theme by DMG

WordPress 6.5.2 theme
0
  • THEME TYPEWordPress theme 6.5.2
  • FILE NAMEnaijamedialoaded-theme-by-dmg.zip
  • FILE SIZE637387 bytes
  • MD5d34db1c38f1efa06c35ae56ad9a135bc
  • SHA16ed93e99f7fb02bc27488521f1b3f83a562b16d6
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • THEME URIhttp://bitly.com/NaijaloadedTheme19
  • VERSION1.5
  • AUTHOR URI
  • TAGSsilver, white, one-column, flexible-width
  • CREATION DATE2020-01-21
  • LAST FILE UPDATE2021-01-19
  • LAST VALIDATION2021-01-19 15:10
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. Widgets : Widgets The theme appears to use register_sidebar() but no dynamic_sidebar() was found. See: dynamic_sidebar
     <?php dynamic_sidebar( $index ); ?>
    Sidebars need to be registered in a custom function hooked to the widgets_init action. See: register_sidebar().
  3. Unwanted files : PHP error log error_log was found.
  4. Admin menu : Themes should use add_theme_page() for adding admin pages. File admin.php : 26: add_submenu_page(File functions.php : 311: 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.365: <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( $valu377: <textarea name='<?php echo $value['id']; ?>' type='<?php echo $value['type']; ?>' cols='' rows=''><?php if ( get_settings( $value['id'] ) != '') { echo stripslashes(get_settings( $valu393: <option <?php if (get_settings( $value['id'] ) == $option) { echo 'selected='selected''; } ?>
  7. Deprecated functions : get_the_author_login get_the_author_login found in file utility.php. Deprecated since version 2.8. Use the_author_meta(&#39;login&#39;) instead.399: $author = get_the_author_login();
  8. Deprecated functions : get_profile get_profile found in file utility.php. Deprecated since version 3.0. Use get_the_author_meta() instead.777: return get_profile('ID', $username);
  9. Deprecated functions : get_bloginfo get_bloginfo('template_directory') was found in the file admin.php. Use get_template_directory_uri() instead.241: wp_enqueue_script('jquery-colorpicker', get_bloginfo('template_directory').'/carrington-core/js/colorpicker.js', ar243: // wp_enqueue_style('jquery-colorpicker', get_bloginfo('template_directory').'/carrington-core/css/colorpicker.css');250: <link rel='stylesheet' type='text/css' media='screen' href=''.get_bloginfo('template_directory').'/carrington-core/css/colorpicker.css' /get_bloginfo('wpurl') was found in the file comment.php. Use site_url() instead.30: <p id='you-must-be-logged-in-to-comment'><?php printf(__('You must be <a href='%s'>logged in</a> to post a comment.', 'carrington-mobile'), get_bloginfo('wpurl').'/wp-login.php?redirect_to='.get_permalink()); ?></p>43: <p><?php printf(__('Logged in as <a href='%s'>%s</a>. ', 'carrington-mobile'), get_bloginfo('wpurl').'/wp-admin/profile.php', $user_identity); wp_loginoutget_bloginfo('url') was found in the file functions.php. Use home_url() instead.268: 'std' => get_bloginfo('url') .'/favicon.ico'),274: 'std' => get_bloginfo('url') .'/favicon.ico'),get_bloginfo('template_directory') was found in the file functions.php. Use get_template_directory_uri() instead.62: wp_enqueue_script('naijaloaded-theme-by-dmg', get_bloginfo('template_directory').'/js/mobile.js', array('jquery'), '1.0')316: $file_dir=get_bloginfo('template_directory');
  10. Deprecated functions : bloginfo bloginfo('home') was found in the file search.php. Use echo esc_url( home_url() ) instead.38: <form id='search' action='<?php bloginfo('home'); ?>' method='get'>bloginfo('wpurl') was found in the file comment.php. Use echo esc_url( site_url() ) instead.30: <p id='you-must-be-logged-in-to-comment'><?php printf(__('You must be <a href='%s'>logged in</a> to post a comment.', 'carrington-mobile'), get_bloginfo('wpurl').'/wp-login.php?redirect_to='.get_permalink()); ?></p>38: <form id='commentform' action='<?php bloginfo('wpurl'); ?>/wp-comments-post.php' method='post'>43: <p><?php printf(__('Logged in as <a href='%s'>%s</a>. ', 'carrington-mobile'), get_bloginfo('wpurl').'/wp-admin/profile.php', $user_identity); wp_loginout() ?bloginfo('home') was found in the file header-default.php. Use echo esc_url( home_url() ) instead.3023: <form id='search' action='<?php bloginfo('home'); ?>' method='get'>bloginfo('home') was found in the file main-nav.php. Use echo esc_url( home_url() ) instead.1: <a class='to-home' href='<?php bloginfo('home'); ?>'>Home</a> |bloginfo('template_directory') was found in the file functions.php. Use echo esc_url( get_template_directory_uri() ) instead.62: wp_enqueue_script('naijaloaded-theme-by-dmg', get_bloginfo('template_directory').'/js/mobile.js', array('jquery'), '1.0');316: $file_dir=get_bloginfo('template_directory');421: <div class='rm_title'><h3><img src='<?php bloginfo('template_directory')?>/functions/images/trans.png' class='inactiv
Warning
  1. theme tags : Presence of bad theme tagsThe tag silver 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 flexible-width has been deprecated, it must be removed from style.css header.
  2. 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 mobile-theme-by-dmg.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Recent Posts' in file footer-default.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Pages' in file footer-default.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Posts by:' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Category Archives:' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Tag Archives:' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Archives:' 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 carrington, carrington-core, carrington-mobile, carrington-text, carrington-blog.
  4. Fundamental theme elements : Presence of language_attributes()Could not find .
  5. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  6. Fundamental theme elements : Presence of wp_list_comments()Could not find wp_list_comments.
  7. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  8. Fundamental theme elements : Presence of body_class()Could not find body_class call in body tag.
  9. 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.
  10. 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.
  11. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  12. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  13. 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.
  14. Nav menu : Correct integrationNo reference to nav_menu was found in the theme.
  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. Featured image : Use of add_theme_support( 'post-thumbnails' ) in functions.php fileNo reference to post-thumbnails was found in the theme.
  17. CSS files : Presence of license typeLicense: is missing from style.css header.
  18. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  19. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  20. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  21. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  22. 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.
  23. Screenshot : Screenshot fileScreenshot dimensions are wrong! Detected: 852x480px (71:40). Ratio of width to height should be 4:3.Screenshot size is 852x480px. 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 admin.php.7: // http://crowdfavorite.com184: <label for='cfct_credit'>'.__('Give <a href='http://crowdfavorite.com'>Crowd Favorite</a> credit in footer:', 'carringtoPossible hard-coded links were found in the file bottom.php.133: <p align='center'><b>Website Designed By <a href='https://api.whatsapp.com/send?phone=2347082129700&text=I%20need%20a%20websi
  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 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 image template file image.phpThis theme does not contain optional file image.php.
  10. Use of includes : Use of include or requireThe theme appears to use include or require : carrington.php 36: include_once(CFCT_PATH.'carrington-core/admin.php');37: include_once(CFCT_PATH.'carrington-core/templates.php');38: include_once(CFCT_PATH.'carrington-core/utility.php');39: include_once(CFCT_PATH.'carrington-core/ajax-load.php');40: include_once(CFCT_PATH.'carrington-core/attachment.php');41: include_once(CFCT_PATH.'carrington-core/compatibility.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 : utility.php 23: include(CFCT_PATH.'error/exit.php');35: include(CFCT_PATH.'misc/banner.php');62: include_once(CFCT_PATH.'plugins/'.$file);66: include_once(STYLESHEETPATH.'/plugins/'.$file);217: include($file);235: include($path); 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 : header-default.php 3031: <?php include 'naija-top-artiste.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 55: <?php include 'hottest-post.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