{"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:\/\/www.commercestrategies.com\/index.php\/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\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\">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 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 very top [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[150,160],"class_list":["post-1241","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-sticky-2","tag-template"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Template: Sticky - Commerce Strategies<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.commercestrategies.com\/index.php\/template-sticky\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Template: Sticky - Commerce Strategies\" \/>\n<meta property=\"og:description\" content=\"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 a best practice. They should show at the very top [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.commercestrategies.com\/index.php\/template-sticky\/\" \/>\n<meta property=\"og:site_name\" content=\"Commerce Strategies\" \/>\n<meta property=\"article:published_time\" content=\"2012-01-07T14:07:21+00:00\" \/>\n<meta name=\"author\" content=\"comstrat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"comstrat\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/template-sticky\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/template-sticky\\\/\"},\"author\":{\"name\":\"comstrat\",\"@id\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/#\\\/schema\\\/person\\\/3808fca9c52c7ba0a9ece2a4830819e0\"},\"headline\":\"Template: Sticky\",\"datePublished\":\"2012-01-07T14:07:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/template-sticky\\\/\"},\"wordCount\":124,\"keywords\":[\"sticky\",\"template\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/template-sticky\\\/\",\"url\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/template-sticky\\\/\",\"name\":\"Template: Sticky - Commerce Strategies\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/#website\"},\"datePublished\":\"2012-01-07T14:07:21+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/#\\\/schema\\\/person\\\/3808fca9c52c7ba0a9ece2a4830819e0\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/template-sticky\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/template-sticky\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/template-sticky\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Template: Sticky\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/#website\",\"url\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/\",\"name\":\"Commerce Strategies\",\"description\":\"Expert Digital Marketing, SEO, PPC. Social &amp; Analytics\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/#\\\/schema\\\/person\\\/3808fca9c52c7ba0a9ece2a4830819e0\",\"name\":\"comstrat\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/00b3383b4933ac63ca4cac407fd506d51026882711938cbecc9406b818bb6f28?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/00b3383b4933ac63ca4cac407fd506d51026882711938cbecc9406b818bb6f28?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/00b3383b4933ac63ca4cac407fd506d51026882711938cbecc9406b818bb6f28?s=96&d=mm&r=g\",\"caption\":\"comstrat\"},\"url\":\"https:\\\/\\\/www.commercestrategies.com\\\/index.php\\\/author\\\/comstrat\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Template: Sticky - Commerce Strategies","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.commercestrategies.com\/index.php\/template-sticky\/","og_locale":"en_US","og_type":"article","og_title":"Template: Sticky - Commerce Strategies","og_description":"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 a best practice. They should show at the very top [&hellip;]","og_url":"https:\/\/www.commercestrategies.com\/index.php\/template-sticky\/","og_site_name":"Commerce Strategies","article_published_time":"2012-01-07T14:07:21+00:00","author":"comstrat","twitter_misc":{"Written by":"comstrat","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.commercestrategies.com\/index.php\/template-sticky\/#article","isPartOf":{"@id":"https:\/\/www.commercestrategies.com\/index.php\/template-sticky\/"},"author":{"name":"comstrat","@id":"https:\/\/www.commercestrategies.com\/index.php\/#\/schema\/person\/3808fca9c52c7ba0a9ece2a4830819e0"},"headline":"Template: Sticky","datePublished":"2012-01-07T14:07:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.commercestrategies.com\/index.php\/template-sticky\/"},"wordCount":124,"keywords":["sticky","template"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.commercestrategies.com\/index.php\/template-sticky\/","url":"https:\/\/www.commercestrategies.com\/index.php\/template-sticky\/","name":"Template: Sticky - Commerce Strategies","isPartOf":{"@id":"https:\/\/www.commercestrategies.com\/index.php\/#website"},"datePublished":"2012-01-07T14:07:21+00:00","author":{"@id":"https:\/\/www.commercestrategies.com\/index.php\/#\/schema\/person\/3808fca9c52c7ba0a9ece2a4830819e0"},"breadcrumb":{"@id":"https:\/\/www.commercestrategies.com\/index.php\/template-sticky\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.commercestrategies.com\/index.php\/template-sticky\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.commercestrategies.com\/index.php\/template-sticky\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.commercestrategies.com\/index.php\/"},{"@type":"ListItem","position":2,"name":"Template: Sticky"}]},{"@type":"WebSite","@id":"https:\/\/www.commercestrategies.com\/index.php\/#website","url":"https:\/\/www.commercestrategies.com\/index.php\/","name":"Commerce Strategies","description":"Expert Digital Marketing, SEO, PPC. Social &amp; Analytics","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.commercestrategies.com\/index.php\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.commercestrategies.com\/index.php\/#\/schema\/person\/3808fca9c52c7ba0a9ece2a4830819e0","name":"comstrat","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/00b3383b4933ac63ca4cac407fd506d51026882711938cbecc9406b818bb6f28?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/00b3383b4933ac63ca4cac407fd506d51026882711938cbecc9406b818bb6f28?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/00b3383b4933ac63ca4cac407fd506d51026882711938cbecc9406b818bb6f28?s=96&d=mm&r=g","caption":"comstrat"},"url":"https:\/\/www.commercestrategies.com\/index.php\/author\/comstrat\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4AKSB-k1","_links":{"self":[{"href":"https:\/\/www.commercestrategies.com\/index.php\/wp-json\/wp\/v2\/posts\/1241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.commercestrategies.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.commercestrategies.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.commercestrategies.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.commercestrategies.com\/index.php\/wp-json\/wp\/v2\/comments?post=1241"}],"version-history":[{"count":0,"href":"https:\/\/www.commercestrategies.com\/index.php\/wp-json\/wp\/v2\/posts\/1241\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.commercestrategies.com\/index.php\/wp-json\/wp\/v2\/media?parent=1241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.commercestrategies.com\/index.php\/wp-json\/wp\/v2\/categories?post=1241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.commercestrategies.com\/index.php\/wp-json\/wp\/v2\/tags?post=1241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}