11
Validation results

Genesis

Genesis

WordPress 4.9.8 theme
11
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file customizer.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. 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.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  3. Malware : Operations on file system file_get_contents was found in the file import-export.php
    Line 351: $upload = file_get_contents( $_FILES['genesis-import-upload']['tmp_name'] );
  4. Admin menu : Themes should use add_theme_page() for adding admin pages. File admin.php :
    Line 177: $this->pagehook = add_menu_page( $menu['page_title'], $menu['menu_title'], $menu['capability'
    File admin.php :
    Line 208: $this->pagehook = add_submenu_page( $this->page_id, $menu['page_title'], $menu['menu_title'],
    Line 232: $this->pagehook = add_submenu_page( $menu['parent_slug'], $menu['page_title'], $menu['menu_ti
    File admin.php :
    Line 208: $this->pagehook = add_submenu_page( $this->page_id, $menu['page_title'], $menu['menu_title'],
    Line 232: $this->pagehook = add_submenu_page( $menu['parent_slug'], $menu['page_title'], $menu['menu_ti
Warning
  1. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  2. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  3. 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.
  4. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  5. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  6. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  7. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  8. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  9. Screenshot : Screenshot fileScreenshot size is 880x660px. 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. favicon presence : Favicon managementPossible Favicon found in header.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  2. theme tags : Presence of bad theme tagsThemes that use the tag accessibility-ready will need to undergo an accessibility review.
    See https://make.wordpress.org/themes/handbook/review/accessibility/
  3. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file footer.php.
    Line 179: $output = $atts['before'] . ' <a href='http://www.studiopress.com/'>StudioPress</a>' . $atts['after'];
    Possible hard-coded links were found in the file import-export.php.
    Line 100: '<p><a href='http://my.studiopress.com/help/' target='_blank'>' . __( 'Get Support', 'ge
    Line 101: '<p><a href='http://my.studiopress.com/snippets/' target='_blank'>' . __( 'Genesis Snipp
    Line 102: '<p><a href='http://my.studiopress.com/tutorials/' target='_blank'>' . __( 'Genesis Tuto
    Possible hard-coded links were found in the file inpost-metaboxes.php.
    Line 71: <th scope='row'><label for='genesis_canonical'><strong><?php _e( 'Canonical URL', 'genesis' ); ?></strong> <a href='http://www.mattcutts.com/blog/canonical-link-tag/' target='_blank' title='&
    Line 85: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'noindex' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 89: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'nofollow' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 93: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'noarchive' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 85: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'noindex' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 89: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'nofollow' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 93: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'noarchive' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 85: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'noindex' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 89: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'nofollow' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Line 93: <?php printf( __( 'Apply %s to this post/page', 'genesis' ), genesis_code( 'noarchive' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]<span class
    Possible hard-coded links were found in the file seo-settings.php.
    Line 239: '<p><a href='http://my.studiopress.com/help/' target='_blank'>' . __( 'Get Support', 'ge
    Line 240: '<p><a href='http://my.studiopress.com/snippets/' target='_blank'>' . __( 'Genesis Snipp
    Line 241: '<p><a href='http://my.studiopress.com/tutorials/' target='_blank'>' . __( 'Genesis Tuto
    Possible hard-coded links were found in the file whats-new.php.
    Line 114: <a href='http://twitter.com/nathanrice'><img src='//0.gravatar.com/avatar/fdbd4b13e3
    Line 115: <a class='web' href='http://twitter.com/nathanrice'>Nathan Rice</a>
    Line 119: <a href='http://twitter.com/bgardner'><img src='//0.gravatar.com/avatar/c845c86ebe39
    Line 120: <a class='web' href='http://twitter.com/bgardner'>Brian Gardner</a>
    Possible hard-coded links were found in the file cpt-archive-settings.php.
    Line 238: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'noindex' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 241: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'nofollow' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 244: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'noarchive' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 238: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'noindex' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 241: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'nofollow' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 244: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'noarchive' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 238: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'noindex' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 241: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'nofollow' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Line 244: <?php printf( __( 'Apply %s to this archive', 'genesis' ), genesis_code( 'noarchive' ) ); ?> <a href='http://yoast.com/articles/robots-meta-tags/' target='_blank'>[?]</a></label
    Possible hard-coded links were found in the file theme-settings.php.
    Line 394: '<p><a href='http://my.studiopress.com/help/' target='_blank'>' . __( 'Get Support', 'ge
    Line 395: '<p><a href='http://my.studiopress.com/snippets/' target='_blank'>' . __( 'Genesis Snipp
    Line 396: '<p><a href='http://my.studiopress.com/tutorials/' target='_blank'>' . __( 'Genesis Tuto
    Possible hard-coded links were found in the file deprecated.php.
    Line 320: $text = preg_replace( '/@(\w+)/', '<a href='http://www.twitter.com/\\1' target='_blank'>@\\1</a>', $text );
    Line 321: $text = preg_replace( '/#(\w+)/', '<a href='http://search.twitter.com/search?q=\\1' target='_blank'>#\\1</a>', $text );
  4. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  5. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  6. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  7. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  8. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  9. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  10. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  11. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  12. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  13. Use of includes : Use of include or requireThe theme appears to use include or require : init.php
    Line 227: require_once( GENESIS_LIB_DIR . '/framework.php' );
    Line 230: require_once( GENESIS_CLASSES_DIR . '/admin.php' );
    Line 232: require_once( GENESIS_CLASSES_DIR . '/sanitization.php' );
    Line 235: require_once( GENESIS_FUNCTIONS_DIR . '/upgrade.php' );
    Line 236: require_once( GENESIS_FUNCTIONS_DIR . '/compat.php' );
    Line 237: require_once( GENESIS_FUNCTIONS_DIR . '/general.php' );
    Line 238: require_once( GENESIS_FUNCTIONS_DIR . '/options.php' );
    Line 239: require_once( GENESIS_FUNCTIONS_DIR . '/image.php' );
    Line 240: require_once( GENESIS_FUNCTIONS_DIR . '/markup.php' );
    Line 242: require_once( GENESIS_FUNCTIONS_DIR . '/menu.php' );
    Line 243: require_once( GENESIS_FUNCTIONS_DIR . '/layout.php' );
    Line 244: require_once( GENESIS_FUNCTIONS_DIR . '/formatting.php' );
    Line 245: require_once( GENESIS_FUNCTIONS_DIR . '/seo.php' );
    Line 246: require_once( GENESIS_FUNCTIONS_DIR . '/widgetize.php' );
    Line 247: require_once( GENESIS_FUNCTIONS_DIR . '/feed.php' );
    Line 248: require_once( GENESIS_FUNCTIONS_DIR . '/toolbar.php' );
    Line 250: require_once( GENESIS_FUNCTIONS_DIR . '/deprecated.php' );
    Line 253: require_once( GENESIS_SHORTCODES_DIR . '/post.php' );
    Line 254: require_once( GENESIS_SHORTCODES_DIR . '/footer.php' );
    Line 257: require_once( GENESIS_STRUCTURE_DIR . '/header.php' );
    Line 258: require_once( GENESIS_STRUCTURE_DIR . '/footer.php' );
    Line 259: require_once( GENESIS_STRUCTURE_DIR . '/menu.php' );
    Line 260: require_once( GENESIS_STRUCTURE_DIR . '/layout.php' );
    Line 261: require_once( GENESIS_STRUCTURE_DIR . '/post.php' );
    Line 262: require_once( GENESIS_STRUCTURE_DIR . '/loops.php' );
    Line 263: require_once( GENESIS_STRUCTURE_DIR . '/comments.php' );
    Line 264: require_once( GENESIS_STRUCTURE_DIR . '/sidebar.php' );
    Line 265: require_once( GENESIS_STRUCTURE_DIR . '/archive.php' );
    Line 266: require_once( GENESIS_STRUCTURE_DIR . '/search.php' );
    Line 270: require_once( GENESIS_ADMIN_DIR . '/menu.php' );
    Line 271: require_once( GENESIS_ADMIN_DIR . '/theme-settings.php' );
    Line 272: require_once( GENESIS_ADMIN_DIR . '/seo-settings.php' );
    Line 273: require_once( GENESIS_ADMIN_DIR . '/cpt-archive-settings.php' );
    Line 274: require_once( GENESIS_ADMIN_DIR . '/import-export.php' );
    Line 275: require_once( GENESIS_ADMIN_DIR . '/inpost-metaboxes.php' );
    Line 276: require_once( GENESIS_ADMIN_DIR . '/use-child-theme.php' );
    Line 277: require_once( GENESIS_ADMIN_DIR . '/whats-new.php' );
    Line 279: require_once( GENESIS_ADMIN_DIR . '/customizer.php' );
    Line 280: require_once( GENESIS_ADMIN_DIR . '/term-meta.php' );
    Line 281: require_once( GENESIS_ADMIN_DIR . '/user-meta.php' );
    Line 284: require_once( GENESIS_JS_DIR . '/load-scripts.php' );
    Line 287: require_once( GENESIS_CSS_DIR . '/load-styles.php' );
    Line 290: require_once( GENESIS_WIDGETS_DIR . '/widgets.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 : widgets.php
    Line 15: require_once( GENESIS_WIDGETS_DIR . '/user-profile-widget.php' );
    Line 16: require_once( GENESIS_WIDGETS_DIR . '/featured-post-widget.php' );
    Line 17: require_once( GENESIS_WIDGETS_DIR . '/featured-page-widget.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