Commits

Doug Stewart committed 992d59b

More, more, more. Recent Posts is no longer dependent upon a plugin.

  • Participants
  • Parent commits 4e741ec

Comments (0)

Files changed (3)

 	<div id="footerleft">
 		<ul>
 		<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Bottom Left') ) : ?>
-		<?php if ( function_exists('the_recent_posts') ) {
-			the_recent_posts();
-		} ?>
+		<li><h2>Recent Posts</h2>
+		<ul>
+		<?php query_posts('paged=2&showposts=10'); ?>
+		<?php while (have_posts()) : the_post(); ?>
+		<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a><br /> published on <?php the_date("M jS, Y"); ?> in <?php the_category(', '); ?><?php the_excerpt(); ?></li>
+		<?php endwhile; ?>
+		</ul>
+		</li>
 		<?php endif; ?>
 		</ul>
 	</div>
 		</ul>
 	</div>
 	<div id="footercredits">
+	<p><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a> is powered by <a href="http://wordpress.org">WordPress</a> <?php bloginfo('version'); ?> and <a href="http://literalbarrage.org/blog/code/elbee-elgee">Elbee Elgee</a></p><p>&copy 2006 Doug Stewart</p>
 	<!--WEBBOT bot="HTMLMarkup" startspan ALT="Site Meter" -->
 	<script type="text/javascript" language="JavaScript">var site="s19literal"</script>
 	<script type="text/javascript" language="JavaScript1.2" src="http://s19.sitemeter.com/js/counter.js?site=s19literal">
 
 #container {
 	/*border: 1px solid #ccc;
-	padding-top: 0px;*/
+	padding-top: 0px;
+	width: 1024px;*/
 }
 
 #menu {
 	width: 97%;
 }
 
-#navigation ul, #extra ul {
+#navigation ul, #extra ul, #footer ul {
 	margin: 5px 0 0;
 	padding-left: 0;
 	padding-right: 5px;
 	border-top: 1px solid #ca1919;	
 }
 
+#footer a, #footer a:visited {
+	color: #ca1919;
+	text-decoration: none;
+}
+
+#footer a:active, #footer a:hover {
+	text-decoration: underline;
+}
+
 #footerleft {
 	width: 45%;
 	margin: 0 auto;
 	text-decoration: none;
 }
 
-.alignright {
-	
+.center {
+        text-align: center;
 }
 
+.alignright {
+        float: right;
+}
+				        
 .alignleft {
-	
+        float: left
 }
 
-.center {
-	
+img.center, img[align="center"] {
+        display: block;
+        margin-left: auto;
+        margin-right: auto;
 }
+
+img.alignright, img[align="right"] {
+        padding: 4px !important;
+        margin: 0 0 2px 7px !important;
+        display: inline;
+}
+
+img.alignleft, img[align="left"] {
+        padding: 4px;
+	margin: 0 7px 2px 0;
+        display: inline;
+}
+				        
+img.noborder {
+        border: none !important;
+}
 		<acronym class="published" title="<?php the_time('Y-m-d\TG:i:sO'); ?>">
 			<span class="pub-month"><?php echo($mo); ?></span>
 			<span class="pub-date"><?php echo($da); ?></span>
-			<span class="pub-year"><?php echo($ye); ?></span>
+			<!--span class="pub-year"><?php echo($ye); ?></span-->
 		</acronym>	
 		<div id="post-<?php the_ID(); ?>" class="wppost">
 			<h3><a href="<?php the_permalink() ?>" rel="bookmark" title='<?php printf(__('Permanent Link to "%s"','k2_domain'), strip_tags(get_the_title())) ?>'><?php the_title(); ?></a></h3>