0
Welcome Guest! Login
0 items Join Now

Meeting Wordpress Theme Requirements?

    • KittyJ's Avatar
    • KittyJ
    • Rocketeer
    • Posts: 77
    • Thanks: 0

    Meeting Wordpress Theme Requirements?

    Posted 10 years 3 months ago
    • Does any of this mean anything significant enough to produce an update to improve the functionality of Vermilion? Tested with Theme Checker.


      Theme Info:

      TitleVermilion

      Version1.0

      AuthorRocketTheme, LLC

      Author URIhttp://www.rockettheme.com

      Theme URIhttp://www.rockettheme.com

      DescriptionRocketTheme Vermilion Theme for Wordpress

      Running 26347 tests against Vermilion using Guidelines Version: 20141222 Plugin revision: 1
      One or more errors were found for Vermilion.

      REQUIRED:License: is missing from your style.css header.
      REQUIRED:License URI: is missing from your style.css header.
      REQUIRED:.gallery-caption css class is needed in your theme css.
      REQUIRED:.bypostauthor css class is needed in your theme css.
      RECOMMENDED: This theme contains no sidebars/widget areas. See Widgets API
      RECOMMENDED: Text domain problems in functions.php. You have not included a text domain!

      Line 34: $msg = __( 'The active theme requires the Gantry Framework Plugin to be installed

      RECOMMENDED: Text domain problems in catalog.php. You have not included a text domain!

      Line 10: GantryWidgetMenu::registerTheme( dirname( __FILE__ ) . '/gantry_dropdown', 'gantry_dropdown', __( 'Gantry Dropdown' ), 'GantryDropdownMenuTheme');

      Line 13: GantryWidgetMenu::registerTheme( dirname( __FILE__ ) . '/gantry_splitmenu', 'gantry_splitmenu', __( 'Gantry SplitMenu' ), 'GantrySplitMenuTheme');

      WARNING: could not find the file comments.php in the theme.
      WARNING: Found base64_encode in the file recaptchalib.php. base64_encode() is not allowed.

      Line 226: return strtr(base64_encode ($x), '+/', '-_');

      WARNING: fwrite was found in the file recaptchalib.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.

      Line 84: fwrite($fs, $http_request);

      WARNING: fsockopen was found in the file recaptchalib.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.

      Line 80: if( false == ( $fs = @fsockopen($host, $port, $errno, $errstr, 10) ) ) {

      WARNING: fclose was found in the file recaptchalib.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.

      Line 88: fclose($fs);

      REQUIRED: The theme needs to have a call to wp_title(), ideally in the header.php file.
      REQUIRED: The theme needs to have <title> tags, ideally in the header.php file.
      REQUIRED: No content width has been defined. Example:

      if ( ! isset( $content_width ) ) $content_width = 900;

      REQUIRED: Could not find wp_head. See: wp_head

      <?php wp_head(); ?>

      REQUIRED: Could not find wp_footer. See: wp_footer

      <?php wp_footer(); ?>

      REQUIRED: Could not find language_attributes. See: language_attributes

      <html <?php language_attributes(); ?>

      REQUIRED: Could not find comments_template. See: comments_template

      <?php comments_template( $file, $separate_comments ); ?>

      REQUIRED: Could not find comment_form. See: comment_form

      <?php comment_form(); ?>

      REQUIRED: Could not find charset. There must be a charset defined in the Content-Type or the meta charset tag in the head.
      REQUIRED: Could not find body_class call in body tag. See: body_class

      <?php body_class( $class ); ?>

      REQUIRED: Could not find add_theme_support( 'automatic-feed-links' ). See: add_theme_support

      <?php add_theme_support( $feature ); ?>

      RECOMMENDED: could not find the file readme.txt in the theme. Please see Theme_Documentation for more information.
      RECOMMENDED: Possible variable $tag found in translation function in content-single.php. Translation function calls must NOT contain PHP variables.

      Line 193: <a href='<?php echo get_tag_link( $tag->term_id ); ?>' title='<?php esc_attr_e( $tag->name ); ?>' class='button'><?php echo $tag->name; ?></a>

      RECOMMENDED: No reference to post-thumbnails was found in the theme. If the theme has a thumbnail like functionality, it should be implemented with add_theme_support( "post-thumbnails" )in the functions.php file.
      RECOMMENDED: No reference to nav_menu's was found in the theme. Note that if your theme has a menu bar, it is required to use the WordPress nav_menu functionality for it.
      RECOMMENDED: No reference to add_theme_support( "title-tag" ) was found in the theme. It is recommended that the theme implement this functionality for WordPress 4.1 and above.
      RECOMMENDED: No reference to add_theme_support( "custom-header", $args ) was found in the theme. It is recommended that the theme implement this functionality if using an image for the header.
      RECOMMENDED: No reference to add_theme_support( "custom-background", $args ) was found in the theme. If the theme uses background images or solid colors for the background, then it is recommended that the theme implement this functionality.
      RECOMMENDED: No reference to add_editor_style() was found in the theme. It is recommended that the theme implement editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
      RECOMMENDED: Tags: is either empty or missing in style.css header.
      INFO: Possible hard-coded links were found in the file unsupported.php.

      Line 37: <p><?php _re('We suggest installing the <a href=' www.microsoft.com/windows/internet-explorer/default.aspx '>latest ver

      INFO: Possible hard-coded links were found in the file comingsoon.php.

      Line 138: <?php _re( 'Vermilion supports a simple coming soon or offline style page with a time counter. It has been specifically styled to match the theme. This feature can be enabled in Admin Dashboard &rarr; Vermilion Theme &rarr; Gizmos &rarr; Coming Soon Page. Please visit <a href=' www.rockettheme.com/ '>Vermilion tutorials</a> for more information.'

      INFO: Possible hard-coded links were found in the file branding.php.

      Line 43: <a href=' www.gantry-framework.org/ ' title='Gantry Framework' class='rt-powere

      INFO: Could not find the comment-reply script enqueued, however a reference to 'comment-reply' was found. Make sure that the comment-reply script is being enqueued properly on singular pages.
      INFO: tmplredirect.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.

      Line 49: include( trailingslashit( $gantry->templatePath ) . $tmpl . '.php' );

      INFO: theme.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.

      Line 31: require_once( dirname( __FILE__ ) . '/formatter.php' );

      Line 36: require_once( dirname( __FILE__ ) . '/layout.php' );

      INFO: theme.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.

      Line 30: require_once( dirname( __FILE__ ) . '/formatter.php' );

      Line 35: require_once( dirname( __FILE__ ) . '/layout.php' );

      INFO: index-iphone.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.

      Line 14: include( dirname( __FILE__ ) . '/index.php' );

      INFO: index-android.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.

      Line 14: include( dirname( __FILE__ ) . '/index.php' );

      INFO: iframe was found in the file recaptchalib.php iframes are sometimes used to load unwanted adverts and code on your site.

      Line 125: <iframe src=''. $server . '/noscript?k=' . $pubkey . $errorpart . '' height=

      INFO: catalog.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.

      Line 9: require_once( dirname( __FILE__ ) . '/gantry_dropdown/theme.php' );

      Line 12: require_once( dirname( __FILE__ ) . '/gantry_splitmenu/theme.php' );

      INFO: body_contactform.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.

      Line 40: require_once( get_template_directory() . '/lib/recaptcha/recaptchalib.php'
    • Wordpress 4.2.1, Gantry 4.1.4, Vermilion 1.0, Rock Common 3.1.11, RockSprocket 2.1.1, RockAjaxSearch 1.20
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2679
    • Web Developer

    Re: Meeting Wordpress Theme Requirements?

    Posted 10 years 3 months ago

Time to create page: 0.095 seconds