{"id":1241,"date":"2012-01-07T07:07:21","date_gmt":"2012-01-07T14:07:21","guid":{"rendered":"http:\/\/wptest.io\/demo\/?p=1241"},"modified":"2012-01-07T07:07:21","modified_gmt":"2012-01-07T14:07:21","slug":"template-sticky","status":"publish","type":"post","link":"https:\/\/wp-ai.rtmake.com\/jetpackai\/2012\/01\/07\/template-sticky\/","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 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 post_class() Function\" href=\"https:\/\/developer.wordpress.org\/reference\/functions\/post_class\/\" target=\"_blank\" rel=\"noopener\">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 recognizable in 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 a best practice. They should show at the &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/wp-ai.rtmake.com\/jetpackai\/2012\/01\/07\/template-sticky\/\"> <span class=\"screen-reader-text\">Template: Sticky<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[16,1],"tags":[156,166],"class_list":["post-1241","post","type-post","status-publish","format-standard","hentry","category-classic","category-uncategorized","tag-sticky-2","tag-template"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/wp-ai.rtmake.com\/jetpackai\/wp-json\/wp\/v2\/posts\/1241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp-ai.rtmake.com\/jetpackai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp-ai.rtmake.com\/jetpackai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp-ai.rtmake.com\/jetpackai\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp-ai.rtmake.com\/jetpackai\/wp-json\/wp\/v2\/comments?post=1241"}],"version-history":[{"count":0,"href":"https:\/\/wp-ai.rtmake.com\/jetpackai\/wp-json\/wp\/v2\/posts\/1241\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp-ai.rtmake.com\/jetpackai\/wp-json\/wp\/v2\/media?parent=1241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp-ai.rtmake.com\/jetpackai\/wp-json\/wp\/v2\/categories?post=1241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp-ai.rtmake.com\/jetpackai\/wp-json\/wp\/v2\/tags?post=1241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}