{"id":60413,"date":"2016-05-19T20:43:27","date_gmt":"2016-05-19T20:43:27","guid":{"rendered":"https:\/\/br.wordpress.org\/support\/topic\/problemas-com-paginacao-da-indexphp-preciso-de-ajuda\/"},"modified":"2016-08-06T01:46:31","modified_gmt":"2016-08-06T01:46:31","slug":"problemas-com-paginacao-da-indexphp-preciso-de-ajuda","status":"publish","type":"topic","link":"https:\/\/br.wordpress.org\/support\/topic\/problemas-com-paginacao-da-indexphp-preciso-de-ajuda\/","title":{"rendered":"Problemas com pagina\u00e7\u00e3o da index.php preciso de ajuda"},"content":{"rendered":"<p>Galera estou a cerca de cinco dias tentando resolver essa pagina\u00e7\u00e3o da minha index.php, ja testei v\u00e1rias formas que vi em outros posts aqui do WP. Tentei de &#8220;tudo&#8221; mas n\u00e3o tive o resultado, ele lista a quantidade de p\u00e1ginas corretamente por\u00e9m ao clicar para p\u00e1gina de numero &#8216;N&#8217; ele mostra na URL a p\u00e1gina que deveria ser a p\u00e1gina corrente por\u00e9m ele continua a exibir a primeira p\u00e1gina segue abaixo o c\u00f3digo da minha index.php<\/p>\n<pre><code>&lt;?php get_header();?&gt;\n&lt;!-- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/  INICIO DO CONTEUDO DA P\u00c1GINA  \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/--&gt;    \n\n&lt;article class=&quot;container noticias-home&quot;&gt;\n\t&lt;div class=&quot;row&quot;&gt;&lt;h2&gt;NOT\u00cdCIAS &lt;hr class=&quot;hr-home&quot;&gt;&lt;\/h2&gt;&lt;\/div&gt;\n\t\t&lt;?php\n\t\t\twhile (have_posts()) : the_post();\n\t\t\t$categories = get_the_category();\n\t\t\t$cat = $categories[0]-&gt;cat_ID;\n\t\t\tif ( $cat == 3):\n\t\t?&gt;\n\t&lt;div class=&quot;col-md-12 wrap-post&quot;&gt;\n\t\t&lt;div class=&quot;col-md-1&quot;&gt;\n\t\t\t&lt;div class=&quot;data-noticia&quot;&gt;\n\t\t\t\t&lt;p class=&quot;data-post&quot;&gt;&lt;?php the_time(&#039;d&#039;); ?&gt;&lt;br&gt;&lt;span class=&quot;mes-post&quot;&gt;&lt;?php the_time(&#039;M&#039;); ?&gt;&lt;\/span&gt;&lt;\/p&gt;&lt;\/div&gt;\n\t\t\t&lt;\/div&gt;\n\t\t\t&lt;h3 class=&quot;col-md-11&quot;&gt;\n\t\t\t\t&lt;a class=&quot;title-noticias-post&quot;  href=&quot;&lt;?php the_permalink(); \/*insere o link da noticia*\/ ?&gt;&quot;&gt;&lt;?php the_title();?&gt;&lt;\/a&gt;\n\t\t\t&lt;hr class=&quot;hr-post&quot;&gt;&lt;\/h3&gt;\n\t\t\t&lt;p&gt;&lt;?php the_excerpt(); ?&gt;&lt;\/p&gt;\n\t\t\t&lt;div class=&quot;col-md-2 pull-right leia-mais-right&quot;&gt;\n\t\t\t\t&lt;a class=&quot;&quot;  href=&quot;&lt;?php the_permalink(); \/*insere o link da noticia*\/ ?&gt;&quot;&gt;LEIA MAIS&lt;\/a&gt;\n\t\t\t&lt;\/div&gt;\n\t\t\t&lt;hr \/&gt;\n\t&lt;\/div&gt;\n\t\t&lt;?php\n\t\t\tendif;\n\t\t\tendwhile;\n\t\t?&gt;\n\t&lt;div class=&quot;list-post&quot;&gt;\n\t\t&lt;?php\n\t\t\twp_pagenavi();\/*pagina\u00e7\u00e3o*\/\n\t\t?&gt;\n\t&lt;\/div&gt;\n&lt;\/article&gt;\n\n&lt;!-- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/  INICIO DO RODAP\u00c9  \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/--&gt;\n&lt;?php get_footer(); ?&gt;<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-60413","topic","type-topic","status-publish","hentry","topic-tag-paginacao-wordpress"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/60413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/60413\/revisions"}],"wp:attachment":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=60413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}