Suporte » Temas » Página de categoria – Tema Parabola

  • Boa tarde!

    Instalei o tema Parabola, que é ótimo, tem muitas opções, e funciona quase 100% como esperado, somente um detalhe está me quebrando a cabeça.

    Existe nele um modelo de página que se chama Category page with intro, e funciona exibindo posts de determinada categoria. O que é muito bom, porém ele exibe Excerpts, repetindo a opção feita no index, e eu gostaria de exibir o conteúdo completo de cada post.

    Olhe o código dessa categoria:

    <?php /*
    Template Name: Category page with intro
    */ ?>
    
    <?php get_header(); ?>
    
    <section id="container" class="<?php echo parabola_get_layout_class(); ?>">
    	<div id="content" role="main">
    
    	 <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    		<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    			<h1 class="entry-title"><?php the_title(); ?></h1>
    			<div class="entry-content">
    				<?php the_content(); ?>
    				<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'parabola' ), 'after' => '</div>' ) ); ?>
    				<?php edit_post_link( __( 'Edit', 'parabola' ), '<span class="edit-link">', '</span>' ); ?>
    			</div>
    			<div style="clear: both;"></div>
    		</div>
    		<?php
    		$slug = basename(get_permalink());
    		$meta_slug = get_post_meta(get_the_ID(), "slug", $single); // slug custom field
    		$meta_catid = get_post_meta(get_the_ID(), "catid", $single); // category_id custom field
    		$key = get_post_meta(get_the_ID(), "key", $single); // either slug or category_id custom field
    		$slug = ($key?$key:($meta_catid?$meta_catid:($meta_slug?$meta_slug:($slug?$slug:0)))); // select one value out of the custom fields
    		?>
    	<?php endwhile; else: endif; ?>
    	<br />
    	<?php
    	$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    	if (is_numeric($slug)&&($slug>0)):
    		$the_query = new WP_Query( 'cat='.$slug.'&post_status=publish&orderby=date&order=desc&posts_per_page='.get_option('posts_per_page').'&paged=' . $paged );
    	else:
    		$the_query = new WP_Query( 'category_name='.$slug.'&post_status=publish&orderby=date&order=desc&posts_per_page='.get_option('posts_per_page').'&paged=' . $paged );
    	endif;
    	/* Start the Loop */
    	while ( $the_query->have_posts() ) : $the_query->the_post();
    		global $more; $more=0; // more gets lost inside page templates
    		get_template_part( 'content/content', get_post_format() );
    	endwhile;
    	if($parabola_pagination=="Enable") parabola_pagination($the_query->max_num_pages); else parabola_content_nav( 'nav-below' );
    	?>
    
    	</div><!-- #content -->
    
    	<?php parabola_get_sidebar(); ?>
    
    </section><!-- #container -->
    
    <?php get_footer(); ?>

    Será que vocês podem me ajudar a modificar o arquivo para receber o conteúdo completo dos posts nessa página?

    Obrigado!

    Links:
    http://blogdocaminhoneiro.com/ (Mostra o Excerpt, está correto assim)
    http://blogdocaminhoneiro.com/caminhoneiro-reporter/ (Também mostra o Excerpt, porém eu preciso do content.

    Um abraço!

Visualizando 1 resposta (de um total de 1)
Visualizando 1 resposta (de um total de 1)
  • O tópico ‘Página de categoria – Tema Parabola’ está fechado para novas respostas.