{"id":75367,"date":"2012-04-02T12:00:28","date_gmt":"2012-04-02T16:00:28","guid":{"rendered":"http:\/\/wpmu.org\/?p=75367"},"modified":"2012-03-31T15:58:11","modified_gmt":"2012-03-31T19:58:11","slug":"make-a-wordpress-post-stick-to-the-top-of-a-category-plugin","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/make-a-wordpress-post-stick-to-the-top-of-a-category-plugin\/","title":{"rendered":"Make a WordPress Post Stick to the Top of a Category [Plugin]"},"content":{"rendered":"<p>The sticky post function in WordPress is very handy. You can make a post stay at the top of your homepage for as long as you like.<\/p>\n<p><a rel=\"lightbox[75367]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/make-a-wordpress-post-stick-to-the-top-of-a-category-plugin\/normal-sticky\/\" rel=\"attachment wp-att-75370\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-75370\" title=\"normal-sticky\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/03\/normal-sticky.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"634\" height=\"607\" \/><\/a>For many, however, it would also make sense to make the post a sticky at the top of its category page as well as the homepage. I know I\u2019ve had this issue myself. The workaround was to go in every day and update the date on the post so that it would appear to be the most recently published post in that category.<\/p>\n<p>But there\u2019s an easier way. The <a href=\"http:\/\/wordpress.org\/extend\/plugins\/category-sticky-posts\/\" target=\"_blank\">Category Sticky Posts plugin<\/a> takes care of this for you. It adds a meta box to the bottom of your write\/edit page that lets you set the post to be a sticky at the top of any category.<\/p>\n<p>(Note: You don\u2019t need to set the post to be a sticky at the top of its original category. It can be ANY category. You can also choose multiple categories.)<\/p>\n<p><a rel=\"lightbox[75367]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/make-a-wordpress-post-stick-to-the-top-of-a-category-plugin\/category-sticky\/\" rel=\"attachment wp-att-75371\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-75371\" title=\"category-sticky\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/03\/category-sticky.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"634\" height=\"312\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This plugin allows you to stick a post to the top of any category page.<\/p>\n","protected":false},"author":84404,"featured_media":205605,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[4],"tags":[152],"tutorials_categories":[],"class_list":["post-75367","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plugins","tag-categories"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/75367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/84404"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=75367"}],"version-history":[{"count":1,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/75367\/revisions"}],"predecessor-version":[{"id":205606,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/75367\/revisions\/205606"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/205605"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=75367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=75367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=75367"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=75367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}