{"id":104,"date":"2015-07-07T19:23:20","date_gmt":"2015-07-07T19:23:20","guid":{"rendered":"http:\/\/www.3pixls.com\/blog\/?p=104"},"modified":"2016-08-01T14:43:15","modified_gmt":"2016-08-01T14:43:15","slug":"how-to-display-first-and-second-post-differently-than-other-posts","status":"publish","type":"post","link":"https:\/\/www.3pixls.com\/blog\/how-to-display-first-and-second-post-differently-than-other-posts\/","title":{"rendered":"How to Display First and Second Post Differently than other posts"},"content":{"rendered":"<p><img loading=\"lazy\" src=\"http:\/\/www.3pixls.com\/blog\/wp-content\/uploads\/2015\/07\/blog-post-300x200.jpg\" alt=\"blog-post\" width=\"300\" height=\"200\" class=\"alignnone size-medium wp-image-195\" srcset=\"https:\/\/www.3pixls.com\/blog\/wp-content\/uploads\/2015\/07\/blog-post-300x200.jpg 300w, https:\/\/www.3pixls.com\/blog\/wp-content\/uploads\/2015\/07\/blog-post-768x511.jpg 768w, https:\/\/www.3pixls.com\/blog\/wp-content\/uploads\/2015\/07\/blog-post.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><br \/>\nYou can display first and second post differently than other posts with this simple css code<\/p>\n<p>[php].article:nth-of-type(1), .article:nth-of-type(2) {<br \/>\n\/\/code<br \/>\n}[\/php]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can display first and second post differently than other posts with this simple css code [php].article:nth-of-type(1), .article:nth-of-type(2) { \/\/code }[\/php]<\/p>\n","protected":false},"author":1,"featured_media":195,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8,9],"tags":[21,20,16],"_links":{"self":[{"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/posts\/104"}],"collection":[{"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/comments?post=104"}],"version-history":[{"count":3,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/posts\/104\/revisions"}],"predecessor-version":[{"id":196,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/posts\/104\/revisions\/196"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/media\/195"}],"wp:attachment":[{"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/media?parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/categories?post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.3pixls.com\/blog\/wp-json\/wp\/v2\/tags?post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}