{"id":1284,"date":"2010-06-16T21:44:58","date_gmt":"2010-06-16T20:44:58","guid":{"rendered":"https:\/\/pl.wordpress.org\/support\/topic\/brak-zmiany-strony\/"},"modified":"2016-08-05T21:40:57","modified_gmt":"2016-08-05T21:40:57","slug":"brak-zmiany-strony","status":"closed","type":"topic","link":"https:\/\/pl.wordpress.org\/support\/topic\/brak-zmiany-strony\/","title":{"rendered":"Brak zmiany strony na blogu."},"content":{"rendered":"<p>Witam. Ot\u00f3\u017c mam problem. Mam styl wisebusiness, ustawi\u0142em wy\u015bwietlanie wpis\u00f3w na 10 i gdy zje\u017cd\u017cam na sam d\u00f3\u0142 bloga nie wida\u0107 opcji zmiany strony. Nie mam poj\u0119cia o co chodzi. Strona &#8211; http:\/\/greenzoners.pl\/<\/p>\n<p>A to jest m\u00f3j plik index.php:<\/p>\n<pre><code>&lt;?php get_header(); ?&gt;\n\n&lt;?php if (get_option(&#039;wise_portfolio_id&#039;)!=&#039;&#039; &amp;&amp; is_category(get_option(&#039;wise_portfolio_id&#039;))){?&gt;\n&lt;?php include (TEMPLATEPATH . &#039;\/portfolio.php&#039;); ?&gt;\n&lt;?php } elseif(get_option(&#039;wise_testimonials_id&#039;)!=&#039;&#039; &amp;&amp; is_category(get_option(&#039;wise_testimonials_id&#039;))){?&gt;\n&lt;?php include (TEMPLATEPATH . &#039;\/testimonials.php&#039;); ?&gt;\n&lt;?php }else{?&gt;\n\n&lt;?php\n\t\t$current = get_the_category();\n\t\t$current_id= $current[0] -&gt;cat_ID;\n\t\t$categs_list = get_category_parents($current_id);\n\t\t$pieces = explode(&quot;\/&quot;, $categs_list);\n\t\t$parent_name = $pieces[0];\n\t\t$parent_id = get_cat_id($pieces[0]);\n\t\t?&gt;\n&lt;div id=&quot;innerTop&quot;&gt;\n\t&lt;?php if(is_month()){?&gt;\n\t\t &lt;div class=&quot;innerTitle clearfix&quot;&gt;Archiwum&lt;\/div&gt;\n\t\t &lt;div class=&quot;innerDesc&quot;&gt;&lt;?php the_time(&#039;F, Y&#039;) ?&gt;&lt;\/div&gt;\n\t&lt;?php }elseif(is_category() || post_is_in_descendant_category($parent_id)){?&gt;\n\t\t&lt;div class=&quot;innerTitle clearfix&quot;&gt;&lt;?php echo $parent_name; ?&gt;&lt;\/div&gt;\n\t\t&lt;?php if(category_description($parent_id) !=&#039;&#039;){?&gt;\n\t\t&lt;div class=&quot;innerDesc&quot;&gt;&lt;?php echo category_description($parent_id);?&gt; &lt;\/div&gt;\n\t &lt;?php }\n\t \t}?&gt;\n&lt;\/div&gt;\n\n&lt;!-- begin colLeft --&gt;\n\t&lt;div id=&quot;colLeft&quot;&gt;\n\t&lt;!-- archive-title --&gt;\n\t\t\t\t\t\t&lt;?php if(is_month()) { ?&gt;\n\t\t\t\t\t\t&lt;div id=&quot;archive-title&quot;&gt;\n\t\t\t\t\t\t&lt;strong&gt;&lt;\/strong&gt; Przegl\u0105danie artyku\u0142\u00f3w z &lt;strong&gt;&lt;?php the_time(&#039;F, Y&#039;) ?&gt;&lt;\/strong&gt;\n\t\t\t\t\t\t&lt;\/div&gt;\n\t\t\t\t\t\t&lt;?php } ?&gt;\n\t\t\t\t\t\t&lt;?php if(is_category()) { ?&gt;\n\t\t\t\t\t\t&lt;div id=&quot;archive-title&quot;&gt;\n\t\t\t\t\t\t&lt;strong&gt;&lt;\/strong&gt; Przegl\u0105danie artyku\u0142\u00f3w w &lt;strong&gt;&lt;?php $current_category = single_cat_title(&quot;&quot;, true); ?&gt;&lt;\/strong&gt;\n\t\t\t\t\t\t&lt;\/div&gt;\n\t\t\t\t\t\t&lt;?php } ?&gt;\n\t\t\t\t\t\t&lt;?php if(is_tag()) { ?&gt;\n\t\t\t\t\t\t&lt;div id=&quot;archive-title&quot;&gt;\n\t\t\t\t\t\t&lt;strong&gt;&lt;\/strong&gt; Przegl\u0105danie artyku\u0142\u00f3w w kategorii &lt;strong&gt;&lt;?php wp_title(&#039;&#039;,true,&#039;&#039;); ?&gt;&lt;\/strong&gt;\n\t\t\t\t\t\t&lt;\/div&gt;\n\t\t\t\t\t\t&lt;?php } ?&gt;\n\t\t\t\t\t\t&lt;?php if(is_author()) { ?&gt;\n\t\t\t\t\t\t&lt;div id=&quot;archive-title&quot;&gt;\n\t\t\t\t\t\t&lt;strong&gt;&lt;\/strong&gt; Przegl\u0105danie wszystkich artyku\u0142\u00f3w &lt;strong&gt;&lt;?php wp_title(&#039;&#039;,true,&#039;&#039;); ?&gt;&lt;\/strong&gt;\n\t\t\t\t\t\t&lt;\/div&gt;\n\t\t\t\t\t\t&lt;?php } ?&gt;\n\t\t\t\t\t&lt;!-- \/archive-title --&gt;\n\t\t&lt;?php if(is_month()){\n\t\t$posts_query = new WP_Query($query_string.&#039;&amp;cat=&#039;.get_option(&#039;wise_blog_id&#039;));\n\t\t}else{\n\t\t$posts_query = new WP_Query($query_string);}\n\t\tif ($posts_query -&gt; have_posts()) : while ($posts_query -&gt; have_posts()) : $posts_query -&gt; the_post();?&gt;\n\t\t&lt;!-- begin post --&gt;\n\t\t&lt;div class=&quot;blogItem clearfix&quot;&gt;\n\t\t\t&lt;div class=&quot;postComments&quot;&gt;\n\t\t\t\t&lt;?php comments_popup_link(&#039;0&#039;, &#039;1&#039;, &#039;%&#039;); ?&gt;\n\t\t\t&lt;\/div&gt;\n\t\t\t\t&lt;div class=&quot;meta&quot;&gt;\n\t\t\t\t&lt;span class=&quot;metadata&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo(&#039;template_url&#039;); ?&gt;\/images\/ico_folder.png&quot; alt=&quot;Wys\u0142ano&quot; \/&gt; &lt;?php the_time(&#039;F j, Y&#039;) ?&gt; in &lt;?php the_category(&#039;, &#039;) ?&gt; by &lt;?php the_author() ?&gt;&lt;\/span&gt;\n\t\t\t\t&lt;h1&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/a&gt;&lt;\/h1&gt;\n\t\t\t\t&lt;\/div&gt;\n\t\t\t\t&lt;?php the_content(__(&#039;&lt;strong&gt;Czytaj dalej...&lt;\/strong&gt;&#039;)); ?&gt; \n\n\t\t&lt;\/div&gt;\n\t\t&lt;!-- end post --&gt;\n\n\t\t&lt;?php endwhile; ?&gt;\n\n\t\t&lt;!-- &lt;div class=&quot;navigation&quot;&gt;\n\t\t\t&lt;div class=&quot;alignleft&quot;&gt;&lt;?php next_posts_link(&#039;Starsze&#039;) ?&gt;&lt;\/div&gt;\n\t\t\t&lt;div class=&quot;alignright&quot;&gt;&lt;?php previous_posts_link(&#039;Nowsze&#039;) ?&gt;&lt;\/div&gt;\n\t\t&lt;\/div&gt; --&gt;\n\t\t&lt;?php if(function_exists(&#039;wp_pagenavi&#039;)) { wp_pagenavi(); } ?&gt;  \n\n\t&lt;?php else : ?&gt;\n\n\t\t&lt;p&gt;Wybacz, ale szukasz czego\u015b, czego tu nie ma.&lt;\/p&gt;\n\n\t&lt;?php endif; ?&gt;\n\t\t&lt;\/div&gt;\n\t\t&lt;!-- end colLeft --&gt;\n\n\t&lt;?php get_sidebar(); ?&gt;\n&lt;?php }?&gt;\n\n&lt;?php get_footer(); ?&gt;<\/code><\/pre>\n<p>Prosz\u0119 o pomoc<\/p>\n","protected":false},"template":"","class_list":["post-1284","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1284\/revisions"}],"wp:attachment":[{"href":"https:\/\/pl.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}