Ver Mensaje Individual
  #7 (permalink)  
Antiguo 11/06/2010, 11:24
moises9633
 
Fecha de Ingreso: octubre-2009
Mensajes: 129
Antigüedad: 14 años, 6 meses
Puntos: 1
Respuesta: [Theme] Problema con mi tema

Cita:
Iniciado por letsalcido Ver Mensaje
Hola, debes borrar todo esto de tu archive :

Código PHP:

<div class="art-PostContent">

<?php $post $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php 
/* If this is a category archive */ if (is_category()) { ?>
<h2 class="pagetitle"><?php printf(__('Archive for the ‘%s’ Category''kubrick'), single_cat_title(''false)); ?></h2>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<h2 class="pagetitle"><?php printf(__('Posts Tagged ‘%s’''kubrick'), single_tag_title(''false) ); ?></h2>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h2 class="pagetitle"><?php printf(_c('Archive for %s|Daily archive page''kubrick'), get_the_time(__('F jS, Y''kubrick'))); ?></h2>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h2 class="pagetitle"><?php printf(_c('Archive for %s|Monthly archive page''kubrick'), get_the_time(__('F, Y''kubrick'))); ?></h2>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h2 class="pagetitle"><?php printf(_c('Archive for %s|Yearly archive page''kubrick'), get_the_time(__('Y''kubrick'))); ?></h2>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h2 class="pagetitle"><?php _e('Author Archive''kubrick'); ?></h2>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h2 class="pagetitle"><?php _e('Blog Archives''kubrick'); ?></h2>
<?php ?>

</div>
Con eso quitarás todos los posibles titulos de archivos que puedan aparecer, ya sean archivos de categoría, de autor etc.
si borro todo eso el tema se me daña


Código PHP:
<?php /* If this is a category archive */ if (is_category()) { ?>
<h2 class="pagetitle"><?php printf(__('Archive for the ‘%s’ Category''kubrick'), single_cat_title(''false)); ?></h2>
hay esta lo comentarize <!-- codigo --> y miren como me queda , como hago para quitar lo que queda?