- Desde
- 25 Ene 2014
- Mensajes
- 77
Holaa
Soy bastante novato en hacer temas wordpress y he seguido unos tutoriales para crear temas pero resulta que el tema creado no se ve bien al subirlo online. No se si falta algún tipo de código o qué pero en local se ve totalmente bien en cualquier navegador.
Aquí teneis la web para que veais el estropicio pero vereis que el código es correcto.
neraidas.com
Gracias por la ayuda
PD: imagen de como queda la web en localhost
Los errores que me aparecen en el plugin "Theme Check" son:
REQUIRED:License: is missing from your style.css header.
REQUIRED:License URI: is missing from your style.css header.
REQUIRED:.wp-caption css class is needed in your theme css.
REQUIRED:.wp-caption-text css class is needed in your theme css.
REQUIRED:.sticky css class is needed in your theme css.
REQUIRED:.gallery-caption css class is needed in your theme css.
REQUIRED:.bypostauthor css class is needed in your theme css.
REQUIRED:.alignright css class is needed in your theme css.
REQUIRED:.alignleft css class is needed in your theme css.
REQUIRED:.aligncenter css class is needed in your theme css.
REQUIRED: This theme doesn't seem to display tags. Modify it to display tags in appropriate locations.
RECOMMENDED: This theme contains no sidebars/widget areas. See Widgets API
WARNING: could not find the file comments.php in the theme.
WARNING: No screenshot detected! Please include a screenshot.png.
REQUIRED: This theme doesn't seem to support the standard avatar functions. Use get_avatar or wp_list_comments to add this support.
REQUIRED: The theme doesn't have post pagination code in it. Use posts_nav_link() or paginate_links() or next_posts_link() and previous_posts_link() to add post pagination.
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.
REQUIRED: No content width has been defined. Example:
if ( ! isset( $content_width ) ) $content_width = 900;
REQUIRED: Could not find the comment-reply script enqueued. See: Migrating Plugins and Themes to 2.7/Enhanced Comment Display
<?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?>
REQUIRED: Could not find wp_list_comments. See: wp_list_comments
<?php wp_list_comments( $args ); ?>
REQUIRED: Could not find wp_link_pages. See: wp_link_pages
<?php wp_link_pages( $args ); ?>
REQUIRED: Could not find wp_footer. See: wp_footer
<?php wp_footer(); ?>
REQUIRED: Could not find post_class. See: post_class
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
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 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 ); ?>
REQUIRED: Could not find DOCTYPE. See: HTML to XHTML « WordPress Codex
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"?>
RECOMMENDED: could not find the file readme.txt in the theme. Please see Theme_Documentation for more information.
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 the_post_thumbnail() was found in the theme. It is recommended that the theme implement this functionality instead of using custom fields for thumbnails.
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: bloginfo(url) was found in the file index.php. Use echo home_url() instead.
RECOMMENDED: bloginfo(url) was found in the file header.php. Use echo home_url() instead.
RECOMMENDED: bloginfo(template_url) was found in the file index.php. Use get_template_directory_uri() instead.
RECOMMENDED: bloginfo(template_url) was found in the file header.php. Use get_template_directory_uri() instead.
RECOMMENDED: Tags: is either empty or missing in style.css header.
INFO: iframe was found in the file header.php iframes are sometimes used to load unwanted adverts and code on your site.
Line 43: <iframe src='/index.html' style='width:1000px;height:500px;max-width:100%;ov
INFO: iframe was found in the file banner.php iframes are sometimes used to load unwanted adverts and code on your site.
Line 16: <iframe src='/wordpress/wp-content/themes/Mi%20segundo%20tema/index.html' st
Soy bastante novato en hacer temas wordpress y he seguido unos tutoriales para crear temas pero resulta que el tema creado no se ve bien al subirlo online. No se si falta algún tipo de código o qué pero en local se ve totalmente bien en cualquier navegador.
Aquí teneis la web para que veais el estropicio pero vereis que el código es correcto.
neraidas.com
Gracias por la ayuda
PD: imagen de como queda la web en localhost
Los errores que me aparecen en el plugin "Theme Check" son:
REQUIRED:License: is missing from your style.css header.
REQUIRED:License URI: is missing from your style.css header.
REQUIRED:.wp-caption css class is needed in your theme css.
REQUIRED:.wp-caption-text css class is needed in your theme css.
REQUIRED:.sticky css class is needed in your theme css.
REQUIRED:.gallery-caption css class is needed in your theme css.
REQUIRED:.bypostauthor css class is needed in your theme css.
REQUIRED:.alignright css class is needed in your theme css.
REQUIRED:.alignleft css class is needed in your theme css.
REQUIRED:.aligncenter css class is needed in your theme css.
REQUIRED: This theme doesn't seem to display tags. Modify it to display tags in appropriate locations.
RECOMMENDED: This theme contains no sidebars/widget areas. See Widgets API
WARNING: could not find the file comments.php in the theme.
WARNING: No screenshot detected! Please include a screenshot.png.
REQUIRED: This theme doesn't seem to support the standard avatar functions. Use get_avatar or wp_list_comments to add this support.
REQUIRED: The theme doesn't have post pagination code in it. Use posts_nav_link() or paginate_links() or next_posts_link() and previous_posts_link() to add post pagination.
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.
REQUIRED: No content width has been defined. Example:
if ( ! isset( $content_width ) ) $content_width = 900;
REQUIRED: Could not find the comment-reply script enqueued. See: Migrating Plugins and Themes to 2.7/Enhanced Comment Display
<?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?>
REQUIRED: Could not find wp_list_comments. See: wp_list_comments
<?php wp_list_comments( $args ); ?>
REQUIRED: Could not find wp_link_pages. See: wp_link_pages
<?php wp_link_pages( $args ); ?>
REQUIRED: Could not find wp_footer. See: wp_footer
<?php wp_footer(); ?>
REQUIRED: Could not find post_class. See: post_class
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
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 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 ); ?>
REQUIRED: Could not find DOCTYPE. See: HTML to XHTML « WordPress Codex
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"?>
RECOMMENDED: could not find the file readme.txt in the theme. Please see Theme_Documentation for more information.
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 the_post_thumbnail() was found in the theme. It is recommended that the theme implement this functionality instead of using custom fields for thumbnails.
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: bloginfo(url) was found in the file index.php. Use echo home_url() instead.
RECOMMENDED: bloginfo(url) was found in the file header.php. Use echo home_url() instead.
RECOMMENDED: bloginfo(template_url) was found in the file index.php. Use get_template_directory_uri() instead.
RECOMMENDED: bloginfo(template_url) was found in the file header.php. Use get_template_directory_uri() instead.
RECOMMENDED: Tags: is either empty or missing in style.css header.
INFO: iframe was found in the file header.php iframes are sometimes used to load unwanted adverts and code on your site.
Line 43: <iframe src='/index.html' style='width:1000px;height:500px;max-width:100%;ov
INFO: iframe was found in the file banner.php iframes are sometimes used to load unwanted adverts and code on your site.
Line 16: <iframe src='/wordpress/wp-content/themes/Mi%20segundo%20tema/index.html' st
Última edición: