I working on a blog theme for myself and I want to feature the About page in my sidebar. This would just be the opening part, with a read more link at the end. Also, I want to have it check so that if it's on the about page, it instead displays the most recent post.
So, first I have my content section which goes through The Loop. I've added this code to my sidebar to select the about page.
<?
query_posts('page_id=160');//select the about page, ID 160 (don't ask).
the_post();//start the_post so i can get the info
?>
<h2 class="entry-title c5r"><a href="<? the_permalink(); ?>" title="Permanent Link to <? the_title_attribute(); ?>" rel="bookmark"><? the_title();?></a></h2>
<? the_content('Find Out More <span class="meta-nav">></span>'); ?>
It seems to work except for one crucial thing; the more-link won't work. It's in there, but it won't display, it just prints the whole post, which i don't want.
And for part 2, I wanted to have it check if it's on the about page, and if so, grab the most recent post info and do that, which I have no idea how to do.