{"id":1941,"date":"2016-01-07T07:07:21","date_gmt":"2016-01-07T07:07:21","guid":{"rendered":"http:\/\/wptest.io\/demo\/?p=1241"},"modified":"2016-01-07T07:07:21","modified_gmt":"2016-01-07T07:07:21","slug":"template-sticky-2","status":"publish","type":"post","link":"https:\/\/www.josikapalace.com\/en\/template-sticky-2\/","title":{"rendered":"Template: Sticky"},"content":{"rendered":"<p>This is a sticky post.<\/p>\n<p>There are a few things to verify:<\/p>\n<ul>\n<li>The sticky post should be distinctly\u00a0recognizable\u00a0in 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. There are a few things to verify: The sticky post should be distinctly\u00a0recognizable\u00a0in some way &hellip; <a href=\"https:\/\/www.josikapalace.com\/en\/template-sticky-2\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Template: Sticky<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1822,"comment_status":"closed","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[15],"tags":[122,112],"class_list":["post-1941","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-template","tag-sticky-2"],"jetpack_featured_media_url":"https:\/\/www.josikapalace.com\/wp-content\/uploads\/2016\/03\/photo-1449168013943-3a15804bb41c-1.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.josikapalace.com\/en\/wp-json\/wp\/v2\/posts\/1941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.josikapalace.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.josikapalace.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.josikapalace.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.josikapalace.com\/en\/wp-json\/wp\/v2\/comments?post=1941"}],"version-history":[{"count":0,"href":"https:\/\/www.josikapalace.com\/en\/wp-json\/wp\/v2\/posts\/1941\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.josikapalace.com\/en\/wp-json\/wp\/v2\/media\/1822"}],"wp:attachment":[{"href":"https:\/\/www.josikapalace.com\/en\/wp-json\/wp\/v2\/media?parent=1941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.josikapalace.com\/en\/wp-json\/wp\/v2\/categories?post=1941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.josikapalace.com\/en\/wp-json\/wp\/v2\/tags?post=1941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}