Questions about WordPress.org theme review
I have created one theme. The theme was denied today for the following reasons:
Theme Review:
- Themes should be reviewed using
define('WP_DEBUG', true);
inwp-config.php
- Themes should be reviewed using the test data from the Theme Checklists (TC)
wp-config.php
is the WordPress setting file. How do I alter my custom theme?
- the theme registers some custom functionality in the function
warmHome_setup()
however this function in not hooked so the functionality is not available. Recommend hooking the theme to theafter_setup_theme
hook.
The following is my themes warmHome_setup()
function. How should I alter it?
function warmHome_setup() {
// This theme styles the visual editor with editor-style.css to match the theme style.
add_editor_style();
// Add default posts and comments RSS feed links to head
add_theme_support( 'automatic-feed-links' );
// Make theme available for translation
// Translations can be filed in the /languages/ directory
load_theme_textdomain( 'warm-home', TEMPLATEPATH . '/languages' );
$locale = get_locale();
$locale_file = TEMPLATEPATH . "/languages/$locale.php";
if ( is_readable( $locale_file ) )
require_once( $locale_file );
// This theme uses wp_nav_menu() in one location.
register_nav_menus( array(
'primary' = __( 'Primary Navigation', 'warm home' ),
) );
// This theme allows users to set a custom background
add_custom_background();
}
Topic theme-review wordpress.org theme-development Wordpress
Category Web