Cregy Web Development

Wordpress And the Web – Feature rich and individual

Main menu

Skip to content
  • Home
  • Invoices
  • WordPress Sites Free Set Up and Hosting
    • Hosting
    • Websites
  • Solutions
  • Words
  • About
    • Why a snail?
  • Contact

Tag Archives: sidebar

Post navigation

How to show single post content in sidebar

Posted on October 25, 2009 by tsop

Find the post you want and the id of the post and then add this code to your sidebar.

<?php query_posts('p=1'); if(have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endif; ?>

Couldn’t be simpler!

Posted in Wordpress | Tagged posts, sidebar, Wordpress |

Post navigation

Twitter Updates

  • Guilt by Dissociation http://t.co/REweWlkv 1 hour ago
  • Stealing Your Address Book http://t.co/KGI6IvFI 1 hour ago
  • Detox http://t.co/yKqOJPTH 1 hour ago
  • How To Set Up Super Quick Web Searches In Alfred [OS X Tip] http://t.co/UGVVBIs8 1 hour ago
  • Every Apple Product Ever In Just 30 Seconds (And Every NeXT Product Too) [Video] http://t.co/q3My4AbN 1 hour ago

Recent Posts

  • Updated – The CRM and Future Development
  • I beat Google
  • Soapcakes, handmade and luxuriously lathery
  • Thesis Theme
  • CRM – What next?

Categories

Proudly powered by WordPress | Theme: Toolbox by Automattic.