{"id":1477933,"date":"2010-04-26T07:31:36","date_gmt":"2010-04-26T07:31:36","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/previous-posts-not-appearing\/"},"modified":"2016-08-19T17:41:40","modified_gmt":"2016-08-19T17:41:40","slug":"previous-posts-not-appearing","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/previous-posts-not-appearing\/","title":{"rendered":"Previous posts not appearing"},"content":{"rendered":"<p>I have my blog set to show 10 entries per page, but the previous_posts_link does not work. The page number increases, but the same items appear. How can I navigate to previously posted post in a custom page template? (There are about 20 posts, and when I set the number of posts to display at 20, they all show up, but not when I try to use the &#8220;previous posts.) The site is in Japanese, so it probably won&#8217;t help to post a link, but this is my code:<br \/>\n&#8216;&lt;?php<br \/>\nquery_posts(&#8216;cat=3&#8217;);<br \/>\nwhile (have_posts()) : the_post(); ?&gt;<br \/>\n&lt;?php<br \/>\nthe_title();<br \/>\n?&gt;<br \/>\n&lt;?php<br \/>\nthe_content();?&gt;<br \/>\n&lt;?php<br \/>\nendwhile;<br \/>\n?&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;div class=&#8221;navigation&#8221;&gt;<br \/>\n&lt;div class=&#8221;alignleft&#8221;&gt;&lt;?php next_posts_link(&#8216;&laquo; Older Entries&#8217;) ?&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;div class=&#8221;alignright&#8221;&gt;&lt;?php previous_posts_link(&#8216;Newer Entries &raquo;&#8217;) ?&gt;<br \/>\n&lt;\/div&gt;`<\/p>\n","protected":false},"template":"","class_list":["post-1477933","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1477933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1477933\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1477933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}