WordPress.org

Make WordPress Themes

Attachments (2)

image-with-caption.png (102.9 KB) - added by pseudoxiah 7 years ago.
many-categories.png (10.7 KB) - added by pseudoxiah 7 years ago.

Download all attachments as: .zip

Change History (4)

#1 @pseudoxiah
7 years ago

  • Owner set to pseudoxiah
  • Status changed from new to accepted

#2 @pseudoxiah
7 years ago

  • Resolution set to not-approved
  • Status changed from accepted to closed

Theme Review: Chinese Love - 1.6.0
=> Themes should be reviewed using define('WP_DEBUG', true); in wp-config.php
=> Themes should be reviewed using the test data from the Theme Checklists


Theme Check

  • Required

=> The theme doesn't have comment pagination code in it. Use paginate_comments_links() or next_comments_link() and previous_comments_link() to add comment pagination.
=> No content width has been defined. Example:

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

=> Could not find wp_list_comments. See: wp_list_comments

 <?php wp_list_comments( $args ); ?>

=> Could not find wp_enqueue_script( 'comment-reply' ). See: Migrating Plugins and Themes to 2.7/Enhanced Comment Display

 <?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?>

=> Could not find post_class. See: post_class

 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

=> Could not find language_attributes. See: language_attributes

<html <?php language_attributes(); ?>

=> Could not find comment_form. See: comment_form

 <?php comment_form(); ?>

=> Could not find body_class call in body tag. See: body_class

 <?php body_class( $class ); ?>

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

 <?php add_theme_support( $feature ); ?>

=> License URI: is missing from your style.css header.
=> .gallery-caption css class is needed in your theme css.
=> wp_list_cats found in the file sidebar.php. Deprecated since version 2.1. Use wp_list_categories instead.

Line 36: <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>

=> get_settings found in the file header.php. Deprecated since version 2.1. Use get_option() instead.

Line 23: <h1><a href='<?php echo get_settings('home'); ?>/'><span><?php bloginfo('name'); ?></span></a></h1>

=> get_links found in the file sidebar.php. Deprecated since version 2.1. Use get_bookmarks() instead.

Line 48: <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', FALSE, FALSE, -1, F

=> bloginfo('home') was found in the file search-form.php. Use bloginfo( 'url' ) instead.

Line 1: <form method='get' id='search-form' action='<?php bloginfo('home'); ?>/'>
  • Recommended

-> The CSS is missing the .sticky class.
-> The CSS is missing the .bypostauthor class.
-> 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.
-> 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.
-> No reference to the_post_thumbnail() was found in the theme. It is recommended that the theme implement this functionality instead of using custom fields for thumbnails.
-> 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.
-> No reference to add_custom_image_header was found in the theme. It is recommended that the theme implement this functionality if using an image for the header.
-> No reference to add_custom_background() 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.
-> bloginfo('template_directory') was found in the file sidebar.php. Use get_template_directory_uri() instead.

Line 3: <a href='<?php bloginfo('rss2_url'); ?>'><img src='<?php bloginfo('template_directory'); ?>/images/rss.jpg' alt='<?php _e('Subscribe

-> bloginfo('stylesheet_directory') was found in the file header.php. Use get_stylesheet_directory_uri() instead.

Line 14: <link rel='shortcut icon' href='<?php bloginfo('stylesheet_directory'); ?>/images/favicon.ico' type='image/x-icon

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


Debogger

  • OK

Test Data

  • Required

=> Paginated posts do not show pagination. See wp_link_pages
=> Image with caption should be centered and enclosed in a box. Currently it overflows the content wrapper, see attached screenshot
=> Images should not be forced fixed dimensions. Rather try to adhere to the original proportions and set alignment, here is an example:

img {
  max-width:470px;
  height:auto;
}
img.alignleft {
  float: left;
}
img.alignright {
  float: right;
}
img.aligncenter {
  margin: 0 auto;
}

=> Image galleries have a broken layout because of the fixed settings for the images. Galleries should display the images thumbnails, fully visible without modifying their proportions. See Twenty Ten for an example
=> Embedded videos overflow content wrapper, this can be fixed by setting $content_width

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

=> Post with no title is unaccessible. You may want to display the permalink somewhere in the post or use the posts's date as a permalink, see Twenty Ten for an example.
=> In the post with many categories, the categories list overlap the posts title. See attached screenshot
=> Threaded comments are not shown. Please consider using the enhanced comments display introduced in version 2.7, see Migrating Plugins and Themes to 2.7/Enhanced Comment Display
=> Static pages are not displayed by default, see wp_list_pages
=> Comments and the comment form are not shown on static pages


Other Notes
=> This statement from CSS is in conflict with the terms of the GPL license:

- You may NOT resell this theme.

Please remove this statement. This is mandatory for the theme to be accepted
=> screenshot.jpg is not necessary
=> include (TEMPLATEPATH . '/search-form.php'); replace this with get_search_form();
=> Rename search-form.php to searchform.php

Note: See TracTickets for help on using tickets.