0
Validation results

Moderna

Moderna

WordPress 4.9 theme
0
    Error 8 : Undefined index: slug
    In /home/www/themecheck/themecheck/controllers/controller_results.php line 772
  • THEME TYPEWordPress theme 4.9
  • FILE NAMEModerna.zip
  • FILE SIZE2824496 bytes
  • MD5104538db31571546bdfd23a7c189173d
  • SHA1bf91f83e0df14004cda00e42e14075d2e30453fe
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, XML, Bitmap images, Adobe Illustrator
  • THEME URIhttp://www.moderna.com
  • VERSION1.0
  • TAGSresponsive, mobile, moderna, wordpress, theme
  • CREATION DATE2017-11-10
  • LAST FILE UPDATE2017-11-10
  • LAST VALIDATION2017-11-10 18:21
  • OTHER VERSIONS

    1.0.0 : 0%

Critical alerts
  1. Unwanted files : hidden file(s) or folder(s) .scrutinizer.yml .travis.yml .editorconfig was found.
  2. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Kuningan,+Jakarta+Capital+Region,+Indonesia&amp;aq=3&amp;oq=kuningan+&amp;sll=37.0625,-95.677068&amp;sspn=37.410045,86.572266&amp;ie=UTF8&amp;hq=&amp;hnear=Kuningan&amp;t=m&amp;z=14&amp;ll=-6.238824,106.830177&amp;output=embed"> in file functions.php.
    Line 289: 'default' => '<iframe src='https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;
    Found <iframe src="<?php echo get_post_meta($post-> in file content-video.php.
    Line 8: <iframe src='<?php echo get_post_meta($post->ID, 'post_video_url', true); ?
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php :
    Line 731: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
  4. Comment reply : Declaration of comment reply Could not find the comment-reply js script enqueued.
  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 : bloginfo bloginfo('home') was found in the file header.php. Use echo esc_url( home_url() ) instead.
    Line 34: <a class='navbar-brand' href='<?php bloginfo('home'); ?>'><?php bloginfo('name'); ?></a>
    bloginfo('home') was found in the file searchform.php. Use echo esc_url( home_url() ) instead.
    Line 1: <form action='<?php bloginfo('home'); ?>' method='get' class='form-search'>
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag responsive in style.css header.Found wrong tag mobile in style.css header.Found wrong tag moderna in style.css header.Found wrong tag wordpress in style.css header.Found wrong tag theme in 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 moderna.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Tags' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Title:' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'The tag cloud will not be displayed since there are no taxonomies that support the tag cloud widget.' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Taxonomy:' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Your site&#8217;s most recent Posts.' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Recent Posts With Thumbanils' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Recent Posts' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Title:' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Number of posts to show:' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Display post date?' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Flickr Images' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Title:' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Flickr ID:' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Type' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Display' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Number of images to show:' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Image Size' in file moderna-custom-widget-functions.php.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments 'Custom field types require a Type object instantiation to use this method. This method was called by the \'%s\' field type.' in file CMB2_Types.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 moderna, educa, cmb2, tgmpa.
  4. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.
  5. Fundamental theme elements : Presence of language_attributes()Could not find .
  6. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  7. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  8. Fundamental theme elements : Presence of post_class()Could not find post_class.
  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. 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.
  11. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  12. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  13. CSS files : Presence of .alignleft class.alignleft css class is needed in theme css.
  14. CSS files : Presence of .alignright class.alignright css class is needed in theme css.
  15. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  16. CSS files : Presence of .wp-caption-text class.wp-caption-text 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. Screenshot : Screenshot fileScreenshot dimensions are wrong! Detected: 600x400px (3:2). Ratio of width to height should be 4:3.Screenshot size is 600x400px. 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 tag template file tag.phpThis theme does not contain optional file tag.php.
  5. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  6. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  7. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  8. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.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 : contact.php
    Line 7: include 'config.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 : helper-functions.php
    Line 38: include_once( cmb2_dir( '$path/{$class_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 : init.php
    Line 145: require_once 'includes/CMB2_Base.php';
    Line 146: require_once 'includes/CMB2.php';
    Line 147: require_once 'includes/helper-functions.php';
    Line 153: require_once 'bootstrap.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