Sticky posts in custom post type archives


WordPress has post sticky option only for posts post type. So if you are going to create a new custom post type, there is no native way for adding support for sticky posts. With this trick, you can show your posts sticking in the top in custom post type archives.