ea7hnq
Respuestas de foro creadas
-
Foro: Guías – Resolución de problemas
En respuesta a: Categorias me dirige a una página vaciaHola de nuevo, esta mañana me he llevado la grata sorpresa que creador de la plantilla la ha actualizado y ya funciona a la perfección.
Gracias por la ayuda.
Foro: Guías – Resolución de problemas
En respuesta a: Categorias me dirige a una página vaciaHola le pego aquí el contenido del archive.php que está dentro de la plantilla.
<?php get_header(); ?>
<!– CONTENT –>
<div id=»content»><?php if ( have_posts() ) : ?>
<section id=»main-content» role=»main»><header>
<h2><?php
if ( is_day() ) :
printf( __( ‘Daily Archives: %s’, ‘gamepress’ ), get_the_date());
elseif ( is_month() ) :
printf( __( ‘Monthly Archives: %s’, ‘gamepress’ ), get_the_date( ‘F Y’ ));
elseif ( is_year() ) :
printf( __( ‘Yearly Archives: %s’, ‘gamepress’ ), get_the_date( ‘Y’ ));
elseif ( is_category() ) :
printf( __( ‘Category: %s’, ‘gamepress’ ), single_cat_title(»,false));
elseif ( is_tag() ) :
printf( __( ‘Tagged: %s’, ‘gamepress’ ), single_tag_title(»,false));
else :
_e( ‘Archives’, ‘gamepress’ );
endif;
?>
</h2>
</header><?php rewind_posts(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
if (of_get_option(‘gamepress_hp_layout’) == ‘1’):
get_template_part(‘content’,get_post_format() );
elseif (of_get_option(‘gamepress_hp_layout’) == ‘2’) :
get_template_part(‘content’);
elseif (of_get_option(‘gamepress_hp_layout’) == ‘3’) :
get_template_part(‘content’, ‘smallthumb’);
endif;
?>
<?php endwhile; // end of the loop. ?>
<?php else : ?>
<section id=»main-content» role=»main» class=»full-height»><article id=»post-0″ class=»post no-results not-found»>
<header>
<h2 class=»entry-title»><?php _e( ‘Nothing Found’, ‘gamepress’ ); ?></h2> 02711/0458144.
</header><!– .entry-header –><div class=»entry-content»>
<p><?php _e( ‘It seems we can’t find what you’re looking for. Perhaps searching can help.’, ‘gamepress’ ); ?></p>
<?php get_search_form(); ?>
</div><!– .entry-content –>
</article><!– #post-0 –><?php endif; ?>
</section>
Esto es lo que tiene dentro y me gustaría que se metieran las entradas en sus categorías.
Saludos y gracias de antemano