Page is a not externally linkable
- Code, Content, and Presentation
-- WordPress
---- How to display sticky post on the bottom of the main page?


lorax - 10:47 pm on Sep 11, 2012 (gmt 0)


I'm not sure how WP handles sticky posts but if you want a single post to display at the bottom of the top page then you can use this code:


<?php
$my_id = 34;
$post_id_34 = get_post($my_id);
echo $post_id_34->post_title;
echo $post_id_34->post_content;
?>


Simply calls a single Post by it's ID (34 in the example) and outputs the title and content. Add your HTML & CSS as you wish.


Thread source:: http://www.webmasterworld.com/wordpress/4493946.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com