Respostas no Fórum

Visualizando 3 respostas - 1 até 3 (de um total de 3)
  • Fórum: Plugins
    Em resposta a: Pagenavi não muda de página
    Criador do tópico brunoxavier

    (@brunoxavier)

    Muito obrigado Renato.
    Deu certinho.

    Fórum: Plugins
    Em resposta a: Pagenavi não muda de página
    Criador do tópico brunoxavier

    (@brunoxavier)

    <?php get_header(); ?>

    <center><img src=”http://i936.photobucket.com/albums/ad201/insultovertical/GARAGEMBANNER.jpg”&gt;</center>

    <div id=”body”> <!– Body [sidebar, posts] –>

    <div id=”content”> <!– Contents –>

    <?php
    $post = $wp_query->post;
    $id = $wpdb->get_var(“SELECT term_id FROM $wpdb->terms WHERE slug='” .get_option(‘gallery-category’) .”‘”);

    ?>

    <?php
    $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
    query_posts(‘cat=-‘ .$id .”); ?>
    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class=”postMain png”> <!– Post Block Wrapper –>

    <div class=”post”> <!– Post Contents –>

    <h2>” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
    <h3><?php the_time(‘F jS, Y’) ?> | escrito por <?php the_author() ?></h3>
    <?php the_content(‘CLIQUE AQUI OU NA IMAGEM PARA VER O CONTEÚDO COMPLETO’); ?>

    <div class=”postMeta”><?php the_tags(‘Tags: ‘, ‘, ‘, ‘
    ‘); ?> Posted in <?php the_category(‘, ‘) ?>
    Comentários: <?php comments_popup_link(‘Seja o primeiro »’, ‘1 Comentário »’, ‘% Comentários »’); ?></div>

    </div> <!– / Post Contents End –>

    </div> <!– / Post Block Wrapper End –>
    <!– / Post Footer for image –>
    <div style=”clear:both”>
    </div><div class=”postFoot png”></div>
    <?php endwhile; ?>

    <?php else : ?>

    <?php endif; ?>

    </div> <!– / Contents End –>

    <?php get_sidebar(); ?>
    <div class=”clr”></div>

    </div> <!– / Body [sidebar, posts] End –>
    <center><?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?></center>
    </div> <!– / Inner Wrapper [contains Floor Image] End –>
    <?php get_footer(); ?>

    </div> <!– / Main Container End –>

    </div> <!– / Outermost Block End –>

    </body>
    </html>

    Ta ai minha home.php

    Fórum: Plugins
    Em resposta a: Pagenavi não muda de página
    Criador do tópico brunoxavier

    (@brunoxavier)

    Não funciona comigo tb não =/

Visualizando 3 respostas - 1 até 3 (de um total de 3)