{"id":5227712,"date":"2014-08-26T18:27:11","date_gmt":"2014-08-26T18:27:11","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/static-page-with-blog-content\/"},"modified":"2016-08-22T00:51:50","modified_gmt":"2016-08-22T00:51:50","slug":"static-page-with-blog-content","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/static-page-with-blog-content\/","title":{"rendered":"Static page with blog content"},"content":{"rendered":"<p>I am wantingt o create a static page, and display the 5 most recent blog entries. I know I can just set the default limit to 5, but this is on a dynamic page.<\/p>\n<p>I want to create a static page, which I then add some blog entries to. I have looked into `&lt;?php $my_query = &#8220;showposts=5&#8221;; $my_query = new WP_Query($my_query); ?&gt;&#8217; but I cant figure out how to use it.<\/p>\n<p>I have looked at <a href=\"https:\/\/wordpress.org\/support\/topic\/blog-posts-on-static-front-page?replies=19\">this<\/a> previous topic, but it&#8217;s so old I thought I should create a new post.<\/p>\n<p>I have tried to use the code that llamaman first suggested, although I get the full content of each post, rather than the content I get now with a Read more.<\/p>\n<p>Can anybody please help me.<\/p>\n<p>Thanks in advance!<\/p>\n","protected":false},"template":"","class_list":["post-5227712","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5227712","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\/5227712\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5227712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}