{"id":5254856,"date":"2014-09-04T12:27:00","date_gmt":"2014-09-04T12:27:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/display-posts-in-container-changing-per-button-click\/"},"modified":"2016-08-22T01:08:49","modified_gmt":"2016-08-22T01:08:49","slug":"display-posts-in-container-changing-per-button-click","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/display-posts-in-container-changing-per-button-click\/","title":{"rendered":"Display posts in container, changing per button click"},"content":{"rendered":"<p>Hello, this is my first post and I read through quite some topics and reference pages before creating this post. <strong>If I overread something or am not aware of certain rules of posting I apologize.<\/strong><\/p>\n<p>I want to display 5 posts in a div container. Below the container (or on the bottom of it) I want to have two buttons. The first button (down arrow) should load the next 5 posts and the second one (up arrow) should go back and display the previous 5 posts. <\/p>\n<p>Ideally I would want to load all posts of certain category this way, meaning if I press button 1 (down arrow) multiple times it goes on until the last post is shown.<\/p>\n","protected":false},"template":"","class_list":["post-5254856","topic","type-topic","status-closed","hentry","topic-tag-button"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5254856","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\/5254856\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5254856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}