{"id":8,"date":"2019-06-04T05:09:23","date_gmt":"2019-06-04T05:09:23","guid":{"rendered":"http:\/\/lana.solutions\/lana-pet\/?p=8"},"modified":"2019-06-04T05:13:42","modified_gmt":"2019-06-04T05:13:42","slug":"template-sticky","status":"publish","type":"post","link":"https:\/\/lana.solutions\/lana-pet\/template-sticky\/","title":{"rendered":"Template: Sticky"},"content":{"rendered":"<p>This is a sticky post.<!--more--><\/p>\n<p>There are a few things to verify:<\/p>\n<ul>\n<li>The sticky post should be distinctly recognizable in some way in comparison to normal posts. You can style the <code>.sticky<\/code> class if you are using the <a title=\"WordPress Codex post_class() Function\" href=\"http:\/\/codex.wordpress.org\/Function_Reference\/post_class\" target=\"_blank\" rel=\"noopener noreferrer\">post_class()<\/a> function to generate your post classes, which is a best practice.<\/li>\n<li>They should show at the very top of the blog index page, even though they could be several posts back chronologically.<\/li>\n<li>They should still show up again in their chronologically correct postion in time, but without the sticky indicator.<\/li>\n<li>If you have a plugin or widget that lists popular posts or comments, make sure that this sticky post is not always at the top of those lists unless it really is popular.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This is a sticky post.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":true,"template":"","format":"standard","meta":[],"categories":[1,23],"tags":[],"_links":{"self":[{"href":"https:\/\/lana.solutions\/lana-pet\/wp-json\/wp\/v2\/posts\/8"}],"collection":[{"href":"https:\/\/lana.solutions\/lana-pet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lana.solutions\/lana-pet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lana.solutions\/lana-pet\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lana.solutions\/lana-pet\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":2,"href":"https:\/\/lana.solutions\/lana-pet\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"predecessor-version":[{"id":12,"href":"https:\/\/lana.solutions\/lana-pet\/wp-json\/wp\/v2\/posts\/8\/revisions\/12"}],"wp:attachment":[{"href":"https:\/\/lana.solutions\/lana-pet\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lana.solutions\/lana-pet\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lana.solutions\/lana-pet\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}