• Salve amigos! Estou trabalhando em um Custon Post para os processos licitatórios de uma prefeitura. Porém, estou com algumas dificuldades de conseguir encontrar documentação voltada para minha realidade, que é: Organizar a apresentação dos dados coletados na minha page (http://goo.gl/Swl6ZP). O código a baixo encontra-se na raiz do meu tema(licitacao_page.php), modelo de página que criei para meu Custon. Alguem pode me auxiliar onde incluo este código e por onde eu começo. Agradeço

    <?php
    	/*
    	 * Template Name: Licitacao
    	 */
    	 get_header();
    	 ?>                 
    
    <?php
        $args = array('post_type' => 'licitacao');
        $query = new WP_Query($args);
        while($query -> have_posts()) : $query -> the_post();
    ?>
    
    </br>
        <div class="licitacao">
          <table border=1>
               <tr>
                  <td colspan="2" BGCOLOR=GRAY><FONT COLOR=FFFFFF><h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4></font></td>
               </tr>
               <tr>
                 <td><strong>Status: </strong> <?php echo(types_render_field( "status-licita", array( 'raw' => true) )); ?></td>
                 <td><strong>Modalidade: </strong> <?php echo(types_render_field( "modalidade", array( 'raw' => true) )); ?></td>
               </tr>
               <tr>
                  <td><strong>Número: </strong> <?php echo(types_render_field( "num", array( 'raw' => true) )); ?></td>
                  <td><strong>Data Limite: </strong> <?php echo (types_render_field( "data-limite", array("format" => "d/m/y") ));?></td>
    
               </tr>
               <tr>
                  <td colspan="2"><strong>Detalhes: </strong> <?php echo(types_render_field( "detalhes", array( 'raw' => true) )); ?></td>
               </tr>
                  <td colspan="2"><strong>Arquivos para Download: </strong> <a href="<?php echo(types_render_field( "arquivos-para-download", array( 'raw' => true) )); ?>">Link</a></td>
            </table>
            <div class="description"><?php echo(types_render_field( "description", array( 'raw' => false) )); ?></div>
        </div>
    </br>
    <?php endwhile; ?>
  • O tópico ‘Organizar Custom Post Type por Mês com Paginação’ está fechado para novas respostas.