I decided to start paginating my longer posts, but my sidebar has this:
`<?php $my_query = new WP_Query('category_name=videos&showposts=1');
while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; ?>
<?php the_content('Continue...'); ?>
<?php endwhile; ?>`
to display the latest video post at the top of the sidebar. The problem is that when you go to Page 2 of the post, the entire post being read gets crammed into the top of the sidebar instead of the video due to the $do_not_duplicate in the code above.
How can I make the video post appear on all pages or a better question: How can I stop the text from appearing in the sidebar?
Any help would be greatly appreciated.