{"id":1241,"date":"2012-01-07T07:07:21","date_gmt":"2012-01-07T14:07:21","guid":{"rendered":"http:\/\/wptest.io\/demo\/?p=1241"},"modified":"2019-10-29T04:39:48","modified_gmt":"2019-10-28T22:54:48","slug":"template-sticky","status":"publish","type":"post","link":"https:\/\/catchthemes.com\/demo\/blog\/template-sticky\/","title":{"rendered":"Template: Sticky"},"content":{"rendered":"
This is a sticky post.<\/p>\n
There are a few things to verify:<\/p>\n
.sticky<\/code> class if you are using the post_class()<\/a> function to generate your post classes, which is a best practice.<\/li>\n- They should show at the very top of the blog index page, even though they could be several posts back chronologically.<\/li>\n
- They should still show up again in their chronologically correct postion in time, but without the sticky indicator.<\/li>\n
- 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":"
This is a sticky post. There are a few things to verify: The sticky post should be distinctly\u00a0recognizable\u00a0in some way in comparison to normal posts. You can style the .sticky class if you are using the post_class() function to generate your post classes, which is … Continue readingTemplate: Sticky<\/span><\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1757,"comment_status":"closed","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[151,161],"class_list":["post-1241","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-sticky-2","tag-template"],"_links":{"self":[{"href":"https:\/\/catchthemes.com\/demo\/wp-json\/wp\/v2\/posts\/1241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/catchthemes.com\/demo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/catchthemes.com\/demo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/catchthemes.com\/demo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/catchthemes.com\/demo\/wp-json\/wp\/v2\/comments?post=1241"}],"version-history":[{"count":0,"href":"https:\/\/catchthemes.com\/demo\/wp-json\/wp\/v2\/posts\/1241\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/catchthemes.com\/demo\/wp-json\/wp\/v2\/media\/1757"}],"wp:attachment":[{"href":"https:\/\/catchthemes.com\/demo\/wp-json\/wp\/v2\/media?parent=1241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/catchthemes.com\/demo\/wp-json\/wp\/v2\/categories?post=1241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/catchthemes.com\/demo\/wp-json\/wp\/v2\/tags?post=1241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}