I'm currently using this to display a sticky post in the header:
<?php
$stickies=get_option('sticky_posts') ;
if ($stickies) {
$args = array(
'posts_per_page' => 1,
'post__in' => $stickies,
'caller_get_posts' => 1
);
$featuredPosts = new WP_Query();
$featuredPosts->query($args);
while ($featuredPosts->have_posts()) : $featuredPosts->the_post(); ?>
<div class="top-sticky" id="post-<?php the_ID(); ?>">
<h1><?php the_title(); ?></h1>
<div class="entry"><?php the_content('More...'); ?></div>
<small><?php edit_post_link('Edit', '', ''); ?></small>
</div>
<?php endwhile;
}; ?>
I need to have some different text on a particular page, not the sticky post.
What's a felluh to do? Thanks!