Ver Mensaje Individual
  #13 (permalink)  
Antiguo 11/03/2011, 15:44
Avatar de tranzorx
tranzorx
 
Fecha de Ingreso: marzo-2008
Mensajes: 114
Antigüedad: 16 años, 1 mes
Puntos: 7
Respuesta: Cambiar el fondo general a una plantilla.

Efectivamente, tienes razón. Si abro la homepage con el código fuente me aparece la secuencia que me comentas.
Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>ropa-ciclismo</title>

<link rel="stylesheet" href="http://localhost/wordpress/wp-content/themes/Ecommerce-Pink/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="http://localhost/wordpress/wp-content/themes/Ecommerce-Pink/dropdown.css" type="text/css" media="screen" />
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://localhost/wordpress/wp-content/themes/Ecommerce-Pink/lt-ie7.css" type="text/css" media="screen" />
<script type="text/javascript" src="http://localhost/wordpress/wp-content/themes/Ecommerce-Pink/dropdown.js"></script>
<![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" href="http://localhost/wordpress/wp-content/themes/Ecommerce-Pink/lte-ie7.css" type="text/css" media="screen" />
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="ropa-ciclismo RSS Feed" href="http://localhost/wordpress/?feed=rss2" />
<link rel="pingback" href="http://localhost/wordpress/xmlrpc.php" />
<link rel="Shortcut Icon" href="http://localhost/wordpress/wp-content/themes/Ecommerce-Pink/images/favicon.ico" type="image/x-icon" />
<link rel='stylesheet' id='admin-bar-css' href='http://localhost/wordpress/wp-includes/css/admin-bar.css?ver=20110122' type='text/css' media='all' />

<link rel='stylesheet' id='wpsc-theme-css-css' href='http://localhost/wordpress/wp-content/plugins/wp-e-commerce/themes/default/default.css?ver=3.7.59' type='text/css' media='all' />
<link rel='stylesheet' id='wpsc-theme-css-compatibility-css' href='http://localhost/wordpress/wp-content/plugins/wp-e-commerce/themes/compatibility.css?ver=3.7.59' type='text/css' media='all' />
<link rel='stylesheet' id='wpsc-product-rater-css' href='http://localhost/wordpress/wp-content/plugins/wp-e-commerce/js/product_rater.css?ver=3.7.59' type='text/css' media='all' />
<link rel='stylesheet' id='wp-e-commerce-dynamic-css' href='http://localhost/wordpress/index.php?wpsc_user_dynamic_css=true&category&ver= 3.7.59' type='text/css' media='all' />
<link rel='stylesheet' id='wpsc-thickbox-css' href='http://localhost/wordpress/wp-content/plugins/wp-e-commerce/js/thickbox.css?ver=3.7.59' type='text/css' media='all' />
<script type='text/javascript' src='http://localhost/wordpress/wp-includes/js/l10n.js?ver=20101110'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-includes/js/jquery/jquery.js?ver=1.4.4'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-content/plugins/wp-e-commerce/js/wp-e-commerce.js?ver=3.7.59'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-content/plugins/wp-e-commerce/js/ajax.js?ver=3.7.59'></script>
<script type='text/javascript' src='http://localhost/wordpress/index.php?wpsc_user_dynamic_js=true&ver=3.7.59'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-content/plugins/wp-e-commerce/wpsc-admin/js/jquery.livequery.js?ver=1.0.3'></script>

<script type='text/javascript' src='http://localhost/wordpress/wp-content/plugins/wp-e-commerce/js/jquery.rating.js?ver=3.7.59'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-content/plugins/wp-e-commerce/js/user.js?ver=3.759'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-content/plugins/wp-e-commerce/js/thickbox.js?ver=Instinct_e-commerce'></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost/wordpress/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost/wordpress/wp-includes/wlwmanifest.xml" />
<link rel='index' title='ropa-ciclismo' href='http://localhost/wordpress' />
<meta name="generator" content="WordPress 3.1" />
<link rel='alternate' type='application/rss+xml' title='ropa-ciclismo Product List RSS' href='http://localhost/wordpress/wordpress/?wpsc_action=rss'/><style type="text/css">
#header {
width: 790px;
height: 95px;

background: url(http://localhost/wordpress/wp-conten...mages/logo.jpg) bottom left no-repeat;
}
</style>

<style type="text/css" media="print">#wpadminbar { display:none; }</style>
<style type="text/css">
html { margin-top: 28px !important; }
* html body { margin-top: 28px !important; }
</style>

</head>
He estado buscando en todos los archivos del directorio "themes", y el único en el que he encontrado la secuencia correcta ha sido en uno llamado "functions.php".

Cita:
<?php

if ( function_exists('register_sidebar') )

register_sidebar(array('name'=>'Top Tag'));

register_sidebar(array('name'=>'Feature Left'));

register_sidebar(array('name'=>'Feature Right'));

register_sidebar(array('name'=>'Bottom Left Sidebar','before_widget' => '','after_widget' => '','before_title' => '<h2>','after_title' => '</h2>',));

register_sidebar(array('name'=>'Bottom Middle Sidebar','before_widget' => '','after_widget' => '','before_title' => '<h2>','after_title' => '</h2>',));

register_sidebar(array('name'=>'Bottom Right Sidebar','before_widget' => '','after_widget' => '','before_title' => '<h2>','after_title' => '</h2>',));

register_sidebar(array('name'=>'Left Sidebar','before_widget' => '','after_widget' => '','before_title' => '<h2>','after_title' => '</h2>',));

?>

<?php

//Custom Header Image Code -- from the WordPress.com API

define('HEADER_TEXTCOLOR', ''); //doesn't matter

define('NO_HEADER_TEXT', true ); //don't mess with the header text

define('HEADER_IMAGE', '%s/images/logo.jpg'); // %s is theme dir uri

define('HEADER_IMAGE_WIDTH', 790);

define('HEADER_IMAGE_HEIGHT', 95);



function ecommerce_header_style() {

?>

<style type="text/css">

#header {

width: <?php echo HEADER_IMAGE_WIDTH; ?>px;

height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;

background: url(<?php header_image(); ?>) bottom left no-repeat;

}

</style>



<?php }

function ecommerce_admin_header_style() {

?>

<style type="text/css">

#headimg {

display: block;

margin: 0px; padding: 0px;

width: <?php echo HEADER_IMAGE_WIDTH; ?>px;

height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;

background: url(<?php header_image(); ?>) top left no-repeat;

}

#headimg h1, #headimg #desc {

display: none;

}

</style>



<?php }

add_custom_image_header('ecommerce_header_style', 'ecommerce_admin_header_style'); //Add the custom header

?>
No he podido llevar los cambios en la praxis porque en estos momentos estoy en la instalación GNU/Linux de mi máquina, pero tan pronto lo haga pitar confirmo que todo ha quedado correcto.
Dejo pues el post abierto...

================================================== =======================

EDITO:

Todos los ajustes son correctos.
Problema solucionado.

Muchas gracias sanxuan

Última edición por tranzorx; 12/03/2011 a las 09:37